Thanks David. I see errors when running it. My first thought was maybe the
Classpath wasn't right for this user but I checked using WRKENVVAR and I see
PDFBox in there.

java -jar /JavaPDF/pdfbox-app-1.6.0.jar ExtractText
java.lang.UnsupportedClassVersionError: org/apache/pdfbox/PDFBox

at java.lang.Throwable.<init>(

at java.lang.Error.<init>(

at java.lang.ClassLoader.defineClass(






at java.lang.ClassLoader.loadClass(

at sun.misc.Launcher$AppClassLoader.loadClass(

at java.lang.ClassLoader.loadClass(

at java.lang.ClassLoader.loadClassInternal(


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of David Gibbs
Sent: Wednesday, May 09, 2012 2:19 PM
To: Midrange Systems Technical Discussion
Subject: Re: Problem running QSH Java command

On 5/9/2012 9:57 AM, Jack Tucky wrote:
How can I find out what's going wrong? Is there a way to turn on
logging or anything?

Exit code 1 indicates some kind of error .. obviously. The key is figuring
out what is generating that return code.

Can you run the command after starting qshell yourself and running it


IBM i on Power -- For when you can't afford to be out of business.

I'm riding on the American Diabetes Association Tour de Cure to raise money
for diabetes research! To sponsor me, visit
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at

This thread ...


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

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