Jump to content

Error While Attempting to use gradlew 'setupDecompWorkspace'...


LittleKitsu

Recommended Posts

   Before I state my problem, I want to say at which point I got to before I got stuck: I already downloaded the MDK, I pulled out the following files: built.gradle, gradlew.bat (I couldn't find the gradlew.sh though), and the gradle folder. I then opened command prompt at the folder directory and executed the following command:  setupDecompWorkspace. It ran fine- and took roughly an hour to reach the error. After a while of searching and using recommended fix commands for the download, I decided to take these two screenshots of two different occasions of this error. I'm not sure what the error is telling me, so could anyone who does know walk me through the steps to correct it- it would be much appreciated. Thank you.

FailErrorMessage.PNG

FailErrorMessage2.PNG

Link to comment
Share on other sites

Thank you for moving it to the right section. I read it but I'm sort of learning as I go and would like help understanding what it is I'm reading and how to resolve it. Thank you for your help. Also, I'm not sure if it's relevant for this error- but I'm going to use IntelliJ for my modding.

Edited by LittleKitsu
Link to comment
Share on other sites

Let me try to clarify a little bit, since it seems like you're probably new to coding or at least new to Java.

 

Java has a "Java Runtime Environment", which is what the JRE is. This is the part of Java you need to execute java applications. It's fine for playing Minecraft. However, there is another part of Java that is used to create things that the JRE can run. This is the Java Development Kit, or JDK, and this is what is required when creating mods.

 

If you have not already installed the JDK, you can do so here: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

 

Once you have installed it, I believe it will update your JAVA_HOME environment variable for you. At this point, I would just try the command again. If it does not fix itself, you can update the JAVA_HOME environment variable yourself by going to Control Panel\All Control Panel Items\System, clicking on Advanced System Settings (it's a link over on the left side). This opens another window with a button near the bottom labeled Environment Variables.

 

Good luck!

Link to comment
Share on other sites

I am familiar with Java- unfortunately, I am not familiar with Command Prompt, I also wasn't sure where precisely I was to direct the command prompt to and how I was to make that happen. I do have a JDK along with two JREs. However, I was finally able to get the answer I was looking for after reading how I need to direct the command to a JDK rather than a JRE- which took only a few internet searches. Thank you very much for taking the time to answer my question, I attached the result of the successful build just in case I overlook something that may affect me as I push forward in modding Minecraft. Thank you again for your consideration.

worked.PNG

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.