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



Ditto on the "+1 on that WRKJVMJOB suggestion".

For grins, I checked my 7.1 system and all the 1.6 & 1.7 jobs are IBM. I'll make the same assumption as you, that IBM will take care of that with the OS upgrade.


I would caution you about changing the system default Java version. I tried that, and it changed a number of IBM apps, which promptly crashed. We have a CLLE that we call prior to all in-house Java that sets (among other things) the JAVA_HOME job-level environment variable.



-----Original Message-----
From: Mike Cunningham [mailto:mike.cunningham@xxxxxxx]
Sent: Monday, February 20, 2017 7:24 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: RE: java 6 use

Thanks for the tip on WRKJVMJOB. That shows that all of the currently running java apps are using 1.6 or 1.7 and all the 1.6 jobs are from IBM so I would assume a move to V7.3 would update those to use 1.7 or newer. But it does not show those apps called from RPG that might only exist for a few minutes. I looked at the RPG code we use to execute java from RPG and they do not currently do anything to specify which JVM to use so I would assume they are using the default which is currently 1.6. We could just change the current default to 1.7 and see what happens but that might have a negative impact on production work. Is setting the JAVA_HOME Environment variable in the RPG code the best method for pointing this kind of hybrid app (RPG+Java) to the JVM to use for that specific job?

Mike C


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.