Thanks Scott. I had a systemdefaults.properties in my home directory but
the user did not. I put it in /QIBM/UserData/Java400 and they are testing
now.
This looks like it might be the problem. Thanks again.
Jack
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Friday, May 11, 2012 7:38 PM
To: Midrange Systems Technical Discussion
Subject: Re: Problem running QSH Java command
Hi Jack,
Sorry for the slow response (trying to get caught up after COMMON)
I see that you're receiving an UnsupportedClassVersionError, and that means
that the version of Java you're using doesn't support the Java classes
you've given them.
In other words... you need a newer version of Java than the one you're
currently running with.
If this works for some users but not others, then I'd say you probably have
the right version of Java /installed/, but your configuration is causing an
older version of Java to be used for some circumstances.
Check the JAVA_HOME variable and the java.version property (in
SystemDefaults.properties) to see if the wrong one may be set.
On 5/9/2012 1:54 PM, Jack Tucky wrote:
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
--
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.
As an Amazon Associate we earn from qualifying purchases.