Operating System: Windows 10 Home
CPU: i7-9700K
Memory: 16 GB
Video Card Nvidia GeForce RTX 2070 SUPER
Vassal version: 3.2.17-windows
Java version: 1.8
When i attempt to install Vassal, it claims that “installer has not found a JRE installed on your computer” but i can view C:/ProgramFiles/Java/jre1.8.0_241/bin using file explorer. I have no other java runtimes installed on my machine.
Operating System: Windows 10 Home
CPU: i7-9700K
Memory: 16 GB
Video Card Nvidia GeForce RTX 2070 SUPER
Vassal version: 3.2.17-windows
Java version: 1.8
When i attempt to install Vassal, it claims that “installer has not
found a JRE installed on your computer” but i can view
C:/ProgramFiles/Java/jre1.8.0_241/bin using file explorer. I have no
other java runtimes installed on my machine.
What happens when you run ‘java -version’ in a command window?
C:\Users\grayv>java -version
java version "1.8.0_241"
Java(TM) SE Runtime Environment (build 1.8.0_241-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.241-b07, mixed mode)
Code:
C:\Users\grayv>java -version
java version “1.8.0_241”
Java™ SE Runtime Environment (build 1.8.0_241-b07)
Java HotSpot™ 64-Bit Server VM (build 25.241-b07, mixed mode)
This shows that java.exe is on your PATH, which is a good sign.
My guess is that the installer isn’t spotting the registry keys which
indicate where your Java installation is. The easiest way to reset the
registry keys for Java is to uninstall and reinstall it. (Normally I
advise against uninstalling and reinstalling Java because it won’t
solve the problem, but you’ve hit one of the few circumstances where
doing so is appropriate.)
I uninstalled and reinstalled java, but there was no change in the installer’s behavior.
However! When i do a custom installation and just dont try to install a java package, everything else installs and runs properly (or at least the program starts, i havent added a module and run the module yet). So its just the installer that wasnt able to find my java.
I uninstalled and reinstalled java, but there was no change in the
installer’s behavior.
However! When i do a custom installation and just dont try to install a
java package, everything else installs and runs properly (or at least
the program starts, i havent added a module and run the module yet). So
its just the installer that wasnt able to find my java.
Oh! I hadn’t spotted that you installed a JDK instead of a JRE. That’s
going to be the reason the installer didn’t find the registry keys it
was looking for.
This will cease to be a problem with the 3.3.0 release as we’re bundling
Java with VASSAL from that point on.