Jump to content

RecompieMC failure


CJWilk

Recommended Posts

Okay, so I am using Minecraft Forge MDK 1.10.2-12.18.3.2221, and I went to setup my main mod folder to start working on a mod. I dragged all of the files into my main folder, then opened a command window in the folder, and typed gradlew setupDecompWorkspace. The setup would get to 73% recompileMC and from there the build would fail. It says that it is unable to find a javac compiler. Could someone help?

 

I have linked a picture of the command prompt window.

Screenshot (44).png

Link to comment
Share on other sites

The error message tells you exactly what's wrong: The JAVA_HOME environment variable currently points to the JRE, but it needs to point to the JDK instead.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

16 minutes ago, Choonster said:

The error message tells you exactly what's wrong: The JAVA_HOME environment variable currently points to the JRE, but it needs to point to the JDK instead.

I set that up by creating the Path variable, and creating a new variable called JAVA_HOME, and set those to only the JDK. It still won't work. Any idea why?

Link to comment
Share on other sites

58 minutes ago, diesieben07 said:

Did you reboot?

I rebooted my computer, and reran the gradlew setupDecompWorkspace and got this error. This is also after changing the JAVA_HOME variable to the jdk. Please help.

Screenshot (45).png

Edited by CJWilk
Link to comment
Share on other sites

Actually, that problem is caused becaused you have too much ram going into the command.

Try setting ram settings lower.

Edited by Leomelonseeds

Apparently I'm addicted to these forums and can't help but read all the posts. So if I somehow help you, please click the "Like This" button, it helps.

Link to comment
Share on other sites

did you try putting like  -Xmx250M -Xms250M or  -Xmx1G -Xms1G   ?

Newer versions of jdk will not help you.

Edited by Leomelonseeds

Apparently I'm addicted to these forums and can't help but read all the posts. So if I somehow help you, please click the "Like This" button, it helps.

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.



×
×
  • Create New...

Important Information

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