Thanks Dave

Problem with the java dot version property is, it is not looked at with the J4IT (Java for IBM Technology) JVM, which is all we have now - java dot version was used for the "Classic JVM", as indicated in this extract from a support document called "Changing Default Version for JDK (java.version)".

If you are familiar with the Classic JVM on i5/OS, you know that you can switch between them by setting the*java dot version*property. The only way to use IBM Technology for JVM is by setting the JAVA_HOME environment variable.

And even worse, one article I saw from IBM said that if you use the java dot version property, that Java might fail completely.

Even so, where did you set the environment variable for Java properties, or was that done by the system automatcally?

Regards
Vern

On 2/21/2018 10:04 AM, dlclark@xxxxxxxxxxxxxxxx wrote:
"MIDRANGE-L"<midrange-l-bounces@xxxxxxxxxxxx> wrote on 02/21/2018
10:32:54 AM:
We are moving to 7.3, already did on development LPAR, going to do this
on one production LPAR this weekend.

I understand that the default Java version at 7.3 is Java 8 32-bit. But
there's a document,
https://www.ibm.com/support/docview.wss?uid=nas8N1019917, that says that
___IBM recommends the 64-bit version___.

I asked about this, and was told that you risk running out of memory
with the 32-bit, hence, the recommendation.

OK, so how do we set this as the default for the system, not in
individual jobs, but for everything.
Notice *SYS and the JAVA properties environment variables, below.

Work with Environment Vars (*SYS)
Type options, press Enter.
1=Add 2=Change 4=Remove 5=Display details 6=Print
Opt Name Value
QIBM_REX_FIND_SRCMBR '*BYMBRNAME'
CLASSPATH '/java/jdbc/sqljdbc4.jar:/opt/jvaga' >
QIBM_RPG_JAVA_PROPERTIES '-Djava.version=1.6;-Djava.awt.head' >
LANG '/QSYS.LIB/EN_US.LOCALE ' >
QIBM_MULTI_THREADED 'Y'


Sincerely,

Dave Clark


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.