[Top][All Lists]

[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: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #53520] Windows builds made with Java 8 JDK on Linux cannot find Java 9 JRE on Windows
Date: Wed, 4 Apr 2018 15:41:40 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48

Follow-up Comment #11, bug #53520 (project octave):

Setting JAVA_VERSION doesn't help either.
On my Windows 10 box:

>> system ("java -version")
java version "9.0.4"
Java(TM) SE Runtime Environment (build 9.0.4+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
ans = 0
>> chk_spreadsheet_support ("", 3)

(OCT interface... OK, included in io package)

Checking Excel/ActiveX/COM... OK.

1. Checking Octave's Java support... OK.
2. Checking Java dependencies...
  Checking Java JRE presence.... OK, found one.
No Java support found.
No Java support found.
ans =  1
>> getenv ("JAVA_VERSION")
ans = 9.0.4
>> javaObject ("java.lang.Double", 9.0)
error: javaObject: could not find library or dependencies: C:\Program

(NB: step #1 in chk_spreadsheet_support.m's output is checking if Octave was
compiled with Java support, i.e., if '__have_feature__ ("JAVA")' returns 1.)

Attached are two screen shots of the registry key values on my Win10 box;
AfAIK they are identical to what they would be on Win7, if not I'll report
back later.

BTW: As to the bug report title, I'm unsure if a mxe-octave crossbuilt Octave
built on Linux with Java 9 would find any Java on a Windows box. Currently the
title just mentions my situation.

(file #43798, file #43799)

Additional Item Attachment:

File name: Win10-regkey_HKLM_javasoft_JRE_904.PNG Size:17 KB
File name: Win10-regkey_HKLM_javasoft_JRE_904_MSI.PNG Size:26 KB


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]