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



On 2/11/2013 2:46 PM, Dan Kimmel wrote:

Java version is part of the properties that RPG passes to the JVM
when RPG starts java. As far as I know, the RPG compiler generates
it.
...
I don't have a V7R1 system to try this on, but you might try
recompiling the RPG modules that call the java methods and rebinding
the programs or service programs.

The RPG runtime only passes the properties that are specified in the QIBM_RPG_JAVA_PROPERTIES environment variable.

The Java version isn't part of the RPG program, so recompiling won't make any difference.

To get rid of that message, just remove the java.version property from the RPG environment variable, and from any of the places that Java looks for Java properties.

http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Frzaha%2Fsysprop.htm

On that page, it mentions properties specified through "JNI invocation API" as having the highest precedence. The properties specified through the QIBM_RPG_JAVA_PROPERTIES envvar fall into that category. The RPG runtime calls the JNI invocation API to start the JVM; it passes any properties found in the RPG envvar, as well as the java.class.path property if the CLASSPATH envvar exists in the job.


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.