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?


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

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?


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,
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-2022 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.