Jump to content

Recommended Posts

Posted

Hello. I am trying to setup the Forge MDK for Eclipse but if I try to do: "gradlew setupDecompWorkspace eclipse" in my command prompt (I am in the directory which has the MDK files) I get an error message that says: "FAILURE: Build failed with an exception.

* What went wrong: Could not determine java version from '11.0.2'. *Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output." I have my JAVA_HOME set to "C:\Program Files\Java\jdk-11.0.2", and i have the same directory in my PATH as well as "%JAVA_HOME%\bin". The javac compiler works but if I set the path to JRE then it just tells me that it doesn't point to the directory of the JDK. Can you please help me?

Posted

Dunno about Gradle, but ForgeGradle won’t work on Java 11.

If you want to work on or play Forge 1.12 or earlier, you need Java 8.

If you’re only interested in 1.13.2, you can get away with using Java 10 OR 8.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

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.