This is wrong.
There are several ways you can control the Java version.

You can specify it in the Java command:
java -Djava.version=1.4

You can also supply it as a parameter in the OS400 JAVA command:
PROP(java.version 1.4)

There are 2 other ways to set the default version by using the SystemDefault.properties files in the user home directory or in the /QIBM/UserData/Java400 directory.
There is more information here:
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm?info/rzaha/sysprop2.htm

Thanks,
Todd


At 11:31 AM 7/29/2005, DReid@xxxxxxxxxxxxxxxxxx wrote:
The latest version

It cannot be controlled

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Anand, Rajesh
Sent: Friday, July 29, 2005 10:19 AM
To: java400-l@xxxxxxxxxxxx
Subject: What JVM gets invoked

Folks,

        I've JDK1.2 & JDK1.4.2 installed on the iSeries.

        I've a java pgm that runs out of RPG.

        How does the system know what JVM to invoke and more importantly
can I control this programmatically.

        regards,

Rajesh Anand
Email:Rajesh_anand@xxxxxx



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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

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