|
* The Java system property,java.version, is not recognized as anThere is also a warning about using java.version with the new JDK, in the IBM Support article, "Changing Default Version for JDK (java.version.) at http://www-01.ibm.com/support/docview.wss?uid=nas8N1017748
input property for the IBM Technology for Java JVM. In prior
releases, the Classic JVM was available which honored
thejava.versionJava system property as input for determining which
JDK to use. Beginning inIBM i7.1, the IBM Technology for Java is
the only available JVM and it requires the environment variable
JAVA_HOME to be specified to determine which JDK to use
*Note:*You should not use the java.home system property to set the JDK home. This will not work on IBM i. In fact, if you attempt to set java.home in the SystemDefault.properties file, the Java product may stop working completely.
QIBM_RPG_JAVA_PROPERTIES '-Djava.version=1.6;-Djava.awt.head'We set it manually as follows. Looking at this now, I see we
really need to change this for a more recent version of the JVM. ;-)
ADDENVVAR ENVVAR(QIBM_RPG_JAVA_PROPERTIES)
VALUE('-Djava.version=1.6;-Djava.awt.headless=true
;-Dos400.awt.native=true;')
LEVEL(*SYS)
Sincerely,
Dave Clark
As an Amazon Associate we earn from qualifying purchases.
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.