[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53520] Windows builds made with Java 8 JDK on
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #53520] Windows builds made with Java 8 JDK on Linux cannot find Java 9 JRE on Windows |
Date: |
Fri, 30 Mar 2018 11:25:39 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #2, bug #53520 (project octave):
The attached patch changes the logic that searches the Java Runtime Library on
Windows to prefer the new registry key (>= 9) over the old one.
You can select the JRE version with the environment variable JAVA_VERSION.
I.e. the following manually selects the JRE 1.8 when both JRE 1.8 and JRE 9
are installed:
set JAVA_VERSION=1.8
octave
To revert to JRE 9 in the same command prompt, either set the environment
variable to empty before starting Octave again:
SET JAVA_VERSION=
or explicitly select the installed version. For me that is:
set JAVA_VERSION=9.0.4
(file #43727)
_______________________________________________________
Additional Item Attachment:
File name: bug53520_java9.patch Size:2 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53520>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/