This is kind of a "is it plugged in" question, but do you have the
runtime support you need for CCSID 5026 loaded on your system?
I'm not even sure what that might be, but I'd guess there would have to
be some translation tables and message files somewhere. Stupid thing
might just be trying to put up the "Starting Java" message and not be
able to find the resources it needs to do that.
-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of David Gibbs
Sent: Thursday, July 15, 2010 9:37 AM
To: Java Programming on and around the iSeries / AS400
Subject: RUNJVA in CCSID 5026 results in JVA0122 rc 1?
Folks:
I'm stumped on this one ... I've got a java program that _generally_
works fine ... except if I run it in a CCSID 5026 job.
If I run it in a CCSID 37 or CCSID 5035 (which are generally compatible
regarding English characters) it runs fine.
But if I run it in a job with CCSID 5026 it ends with a JVA0122 error
with return code 1.
My program does *NOT* do a System.exit(1).
The java program is being invoked with the RUNJVA command.
I've looked at the joblog for the associated QJVACMDSRV job, but it's
not showing anything particularly useful (difficult as it was to
interpret, considering it was in Japanese).
When I invoke the RUNJVA command from the CL driver program, the values
for classpath, classname, & java.version property have been retrieved
from message files (tagged with CCSID 37) so they get transcoded to
CCSID 5026.
Although I get the same error when I run the program from the command
line.
When I run the program with OPTION(*VERBOSE), I can see the appropriate
classes getting loaded ... but the class doesn't run.
This is on V5R4 with the classic JVM 1.5.
Any thoughts?
david
--
IBM i on Power Systems - For when you can't afford to be out of business
--
This is the Java Programming on and around the iSeries / AS400
(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
http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.