This morning I updated to the latest Java version. Now when I attempt to launch VASSAL I get an error message that says - The registry refers to a nonexistent Java Runtime Environment installation or the runtime is corrupted. The system cannot find the file specified.
Yesterday VASSAL launched correctly. The Java update is the only difference.
New Java installation causing problem: Version 8 Update 101 (build 1.8.0_101-b13).
I’ve been running Windows 10 for many months and the previous version of Java with no problems including yesterday. This morning I installed the new Java update per Oracle’s prompt. When I attempted to launch VASSAL is when I got the error message.
Check whether you still have an older version of java installed. If so, remove it. If not, check whether an older version of Java left stale keys in the registry. If so, remove those. The problem is one of those two things.
Check whether you still have an old version of Java installed. The Java installer on Windows is horrible about leaving old major versions installed, which can prevent the newer major version from working. Remove any old versions you find.
If you’re still having a problem after verifying that you have no older versions of Java installed, then you need to check the registry for stale keys leftover from the previous version of Java, and remove those.