× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thorbjørn wrote:
My guess is that this is running under a 1.3 JVM.
Try to output the value of the system property "java.version" as the
first line in your main method.

Barbara Morris wrote:
Try using the QIBM_RPG_JAVA_PROPERTIES environment variable to
specifically set the java version.
ADDENVVAR QIBM_RPG_JAVA_PROPERTIES VALUE('-Djava.version=1.4;')

Both pieces of advice turned out to be great. The machine is using
1.3 by default, but by adding that environment variable I am able to
run with a 1.4 VM. I was speaking with one of our SA's today and he
mentioned that perhaps there was a compiler option that would allow
the programmer to choose the VM, has anyone heard of that? As a
follow-up question, how/when is the default JVM specified? I saw some
IBM documentation about installing Java and running with multiple VMs,
but I didn't see much about configuring/choosing which one would run
when.

http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=/rzaha/multjdk.htm

Joe


As an Amazon Associate we earn from qualifying purchases.

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