Open UrsBeeli opened 4 years ago
It seems the Java launcher doesn't check JAVA_HOME
to find the installed JRE, and use registry keys instead (see: https://sourceforge.net/p/launch4j/feature-requests/127).
Make sure that the registry keys mentioned in the above link (HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\CurrentVersion
and HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\<java version>\JavaHome
) are correctly set.
You can also run Amidst using OpenJDK with the following command:
java -jar amidst-v4-3.exe
Windows 10 64 bit
I have openjdk-8u232-b09 installed on my machine and I have set JAVA_HOME to point to C:\Program Files\Java\openjdk-8u232-b09\jre. If I open cmd.exe I can start java without trouble:
> java -version
openjdk version "1.8.0_232"
OpenJDK Runtime Environment (build 1.8.0_232-09)
OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode)
However, if I double click on
amidst-v4-2.exe
oramidst-v4-3.exe
they both fail with a popup window telling me:When I click the OK button, my browser opens the Oracle JRE download page.
Is there any way to run Amidst using the JRE that comes with the OpenJDK?