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



We do set this properties environment variable without the java.version property - I think you need to get that out of there - it's at least of no use for you, as stated here in the 7.1 Release--to-release compatibility article in knowledge center's IBM Developer Kit for Java section":

* The Java system property,java.version, is not recognized as an
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

There 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

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

That's not a pretty possibility, is it!!

Regards
Vern

On 2/21/2018 2:12 PM, dlclark@xxxxxxxxxxxxxxxx wrote:
-snip-
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 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.