Posted April 16, 20205 yr So my jdk version is 1.8.0_251, mdk i am using is 1.15.2-31.1.45 when i run "gradlew genEclipseRuns" this error appears: Unrecognized option: --add-opens=java.base/sun.util.calendar=ALL-UNNAMED Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Searched online for it but got no result, doubled checked to make sure jdk properly installed and same jre version, so am i missing something? Edited April 17, 20205 yr by Thomas107500
April 17, 20205 yr Author And well i decided to try and use the recommended older versions (1.15.2-31.1.0) and it works like a charm, the build is successful and took 32m 21s, so i guess for those who are facing similar problems, try recommended version first, and make sure your jdk is properly installed, have matching version jre, and the path variable is configured correctly. And maybe mark this topic as bug for the forge team to take a look at the build i used before so they can check it out. Edited April 17, 20205 yr by Thomas107500
April 17, 20205 yr 51 minutes ago, Thomas107500 said: make sure your jdk is properly installed, have matching version jre You do not need a separate JRE if you download the JDK, as it comes with one in JAVA_HOME\jre
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.