Jump to content

Cannot setup Forge Workspace


bilowik

Recommended Posts

I've been trying to do this for the past few days, and I've followed this websites tutorials word by word, but for whatever reason, when I run the command gradlew setupDecompWorkspace with and without the --refresh-dependencies, it always ends in failure telling me that it cannot find my java decompiler, but I have installed JDK 7 and JRE 7 and I've edited the PATH variable with the correct directories and I DID NOT forget the semi-colans. I have restarted my PC twice, which did not fix the issue. I tried editing the PATH with the file it needs, I assume the javac.exe, but that still didn't work, so I changed the variable back. I'm running Windows 8 64-bit on an Alienware X51 PC. If you need any more info to help me, ask and I can supply it.

I've deleted all my files for this and started over twice now, including reinstalling JDK and JRE, just in case something went wrong with the downloads, but that wasn't the case.

Link to comment
Share on other sites

OK, so I think I fixed it. Instead of having BOTH JRE and JDK variables in JAVA_HOME, I only put JDK, and that seemed to fix it. I think it has to do with both JRE and JDK having a /bin/java.exe because that's what the gradlew.bat was looking for with the variables. I don't know much about code, but in a logical sense that seems to be an issue, but I could be COMPLETELY wrong, so idk.

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.