Reputation: 11
I have installed JRE successfully:
However, Octave keeps showing that it can't find JRE.
Upvotes: 1
Views: 5612
Reputation: 1
From the screenshot you presented, you have the JDK (development kit) installed, not the JRE (runtime environment). The required commands you need are there, but the operating system does not recognize this automatically. For that, you must include the 'java/bin' directory from the JDK in the PATH environment variable for your system. Next time you run Octave, it will locate and recognize the Java environment.
Upvotes: 0
Reputation: 84
Make sure you installed right architecture(x86 or x64) of jre, it fixed the issue for me.
Upvotes: 1
Reputation: 1
Following https://octave.1599824.n4.nabble.com/Octave-4-installer-doesn-t-detect-JRE-at-install-time-td4670684.html and: https://superuser.com/questions/1382158/on-windows-why-java-version-return-error-opening-registry-key-software-javas
Now it should display correct version without errors
if ans is empty java should be working now
Upvotes: 0