getdown icon indicating copy to clipboard operation
getdown copied to clipboard

Updating custom jvm from 8 to 13 breaks jvm

Open bskaarup opened this issue 5 years ago • 1 comments

When moving from Java 8 to 13 (on Windows) I have found an issue that possible should be adressed. Getdown does not clean the java_vm folder first, but perhaps it should. In Java 8 there are 10 folders inside the lib folder. One is called "ext" (that is not present in Java 13) and it seems that the "ext" cannot coexits with Java 13. If the folder is present (even if it is empty) Java Virtual Machine Launcher crashes at startup with the message "Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit" Deleting the folder, makes the jvm work.

The workaround I have found is to put the new jvm in a new folder (not java_vm) and set java_local_dir in getdown.txt We use Oracle Java 8u201 and AdoptOpenJDK 13.1

bskaarup avatar Nov 11 '19 11:11 bskaarup

I think this is a duplicate of #112.

Adrodoc avatar Nov 04 '21 16:11 Adrodoc

Fixed with https://github.com/threerings/getdown/pull/257

bskaarup avatar Feb 12 '24 12:02 bskaarup