Sorry about the delay in answering, I was pulled away for my daily
I will recheck everything based on what you have in your reply,
hopefully I will figure it out.


-----Original Message-----
From: JAVA400-L [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of
Buck Calabro
Sent: Thursday, June 15, 2017 3:16 PM
To: java400-l@xxxxxxxxxxxx
Subject: Re: Error running java program from a CL using QSHELL

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

I am running this in my CL program

Using debug the value of &CMD is

java -chkpath *IGNORE -classpath


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
There are some other files in CLASSPATH that you don't mention:

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

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.


Try wiki.midrange.com!

This is the Java Programming on and around the IBM i (JAVA400-L)
mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2021 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.