Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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

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.

  • Author

EXTRA NOTE: I have setup the Path Variable correctly, and I have modded 1.7.10. I tried making a JAVA_HOME variable like oracle suggested, but that didn't work.

  • Author
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?

  • Author
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

  • Author

The RAM shouldn't be a problem, according to Task Manager, nothing is using my Memory.

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.

Not sure, try putting -Xmx500M -Xms500M after your command.

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.

put less or more for the numbers

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.

  • Author

That didn't seem to work. I found I don't have the newest version of JDK, I have JDK 8 101, and the newest is JDK 8 121. I trying to see if that will help.

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.

Actually, try even smaller numbers, like 30M.

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.

Exactly how much ram u have?

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.

try even less.

3 minutes ago, Leomelonseeds said:

Exactly how much ram u have?

 

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.

ohhhhhhh, try setting it to 2G, see if that works. BTW are all the values generating the EXACT same error?

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.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.