× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 6/15/2017 2:42 PM, John Allen wrote:

I am running this in my CL program
STRQSH CMD(&CMD)

Using debug the value of &CMD is

java -chkpath *IGNORE -classpath
/QIBM/ProdData/OS400/jt400/lib/jt400Native.jar:/drv/java/:/drv/java/co
mmons-cli-1.1.jar:
/drv/java/PDFOne.jar:/drv/java/sfapdfenc.jar:/drv/java/sfapdfeni.jar:/
drv/sfxpdfen.class sfxpdfen -inputfile '/DRV/TEST.PDF'
-outputfile '/DRV/test-OWNER.pdf'


I look in the IFS directory /DRV/JAVA and it contains SFAPdfOne.jar

OK so far, but does SFAPdfOne.jar contain the class you're looking for?
There are some other files in CLASSPATH that you don't mention:
/drv/java/PDFOne.jar
/drv/java/sfapdfenc.jar
/drv/java/sfapdfeni.jar
/drv/sfxpdfen.class

Are these present in /drv and /drv/java on the 'working' system?

You can look and see what classes are inside the JAR file with
jar tf SFAPdfOne.jar

I also heard that once I set my classpath then that is the one that
continues to be used (ignoring any new classpaths)
Is that true?
When Java starts in a given job, the CLASSPATH is read and set for the
duration of that job. This is why I always SBMJOB my Java work rather
than run it interactively.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.