Jump to content

gradlew genEclipseRuns failed (1.15.2-31.1.45)


Thomas107500

Recommended Posts

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 by Thomas107500
Link to comment
Share on other sites

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 by Thomas107500
Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.