:rolleyes: Hi All,
I've modified a JAVA application from Conway that we are using to create an XML request to pull proof of delivery images. The application utilizes JDOM. I've downloaded JDOM 1.1 and have put the jdom.jar file on the iSeries. I use a CL program to run the JAVA application. Below is the CL PGM Code:
DCL VAR(&PARMS) TYPE(*CHAR) LEN(250)
ADDENVVAR ENVVAR(NEWPATH) +
Java400/jdk14') LEVEL(*JOB) REPLACE(*YES)
ADDENVVAR ENVVAR(QIBM_JAVA_PROPERTIES_FILE) +
SBMJOB CMD(RUNJVA +
PARM(&PARMS)) JOB(CNWYPODS) JOBQ(QGPL/EDI)
RMVENVVAR ENVVAR(QIBM_JAVA_PROPERTIES_FILE) LEVEL(*JOB)
I've used this CL pgm before, without the addition of the path for the jdom.jar (:/home/tntsvrtst/lib/jdom/jdom.jar) statement and it works just fine. I do have the jdom.jar file on the iSeries in the /home/tntsvrtst/lib/jdom path.
:eek: But, when I run this CL pgm from the command line I get the following error in my logging: java.lang.NoClassDefFoundError: org/jdom/input/SAXBuilder. :eek:
The CL pgm and XMLImageRequest.java files both compile without errors.
So, does anyone see what I'm missing??
Thanks in advance for your input,