I think iIt depends upon how you are invoking the program. If you are invoking a Java program in PASE, you could either write a shell script that your CL calls or set the environment variables before you call the program.

ADDENVVAR ENVVAR(JAVA_HOME) +
VALUE('/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit') +
REPLACE(*YES)

Pete Helgren
Value Added Software, Inc
www.asaap.com
www.opensource4i.com


On 4/4/2011 1:46 PM, hockchai Lim wrote:
got two questions regarding java version.

1) Is there not a way to use java.version property to tell the system to use
the 32 bits version of jvm on a particular job? Currently, I've
(java.version 1.5) as the PROP parameter value for the RUNJVA command. When
I look at the job log, I see "Java Virtual Machine is Classic." in the
joblog.


2) From the joblog I can see if it is using Classic or the 32 bits version.
But is there a way to tell what version (1.4, 1.5..) it is using?




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.