[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JRE not found, windows

From: PhilipNienhuis
Subject: Re: JRE not found, windows
Date: Sun, 10 Nov 2019 07:24:48 -0600 (CST)

mmuetzel wrote
> Am 09. November 2019 um 18:54 Uhr schrieb "Nicholas Jankowski":
>> > 32- or 64-bit Octave? (you didn't say)
>> >
>> > AFAIK the command 'system("java -version")' also works in case of a bit
>> > width mismatch between Octave and Java as it is just a Windows command,
>> > outside Octave.
>> >
>> > Philip
>> >
>> >
>> both Octave and Java are 64bit.
>> source files:
>> jre-8u231-windows-x64.exe
>> octave-5.1.0-w64.7z
>> installed in usual locations.
>> looking at how version checks for java,  i manually ran one of the checks
>> >>  jname = javaMethod ("getProperty", "java.lang.System",
>> "");
>> error: javaMethod: could not find library or dependencies: C:\Program
>> Files\Java\jre1.8.0_231\bin\server\jvm.dll
>> yet i can cd to that folder and see it. i have no problem running Java
>> from outside octave, so I don't think its a permissions error.
>> frustrating...
> This might be a red herring: But the error message is displayed for both
> ERROR_DLL_NOT_FOUND and ERROR_MOD_NOT_FOUND. The latter meaning that a
> dependency of jvm.dll couldn't be found.
> Can you use e.g. Dependency Walker [1] to determine whether this is the
> case? It should be ok to ignore all dependency warnings on "core
> libraries" (like "kernel32.dll", "user32.dll", etc.).
> I'm suspecting that the C runtime library might be not installed in the
> required version (or is somehow broken?).
> AFAICS, Java 8 depends on MSVC 10.0 (2010). See e.g. here [2] for download
> links of the currently supported versions of the VCR.
> I don't know though if it is possible to install Java without it checking
> that the necessary VCR is installed.
> Markus
> [1]:
> [2]:

Good point Markus; that's the other thing I had in mind, a faulty Java
But if that is the case Nick may have other issues as well on that specific
Windows box. Java is so widely used and tested that it is probably hard to
get it mis-installed on the average Windows box.


Sent from:

reply via email to

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