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
/qlansrv/as400/infiles/jack/iii.pdf
java.lang.UnsupportedClassVersionError: org/apache/pdfbox/PDFBox

at java.lang.Throwable.<init>(Throwable.java:195)

at java.lang.Error.<init>(Error.java:49)

at
java.lang.UnsupportedClassVersionError.<init>(UnsupportedClassVersionError.j
ava:34)
at java.lang.ClassLoader.defineClass(ClassLoader.java:567)

at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:168)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:313)

at java.net.URLClassLoader.access$300(URLClassLoader.java:86)

at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:636)

at java.net.URLClassLoader.findClass(URLClassLoader.java:222)

at java.lang.ClassLoader.loadClass(ClassLoader.java:317)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)

at java.lang.ClassLoader.loadClass(ClassLoader.java:263)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:330)

Jack

-----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
interactively?

david

--
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 http://urlq.us/adaride
--
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,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.


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-2019 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].