LittleKitsu Posted February 3, 2017 Posted February 3, 2017 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. Quote
LexManos Posted February 3, 2017 Posted February 3, 2017 Have you tried reading your error? Also you posted in the wrong section, moved it for you. Quote I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
LittleKitsu Posted February 3, 2017 Author Posted February 3, 2017 (edited) 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 February 3, 2017 by LittleKitsu Quote
smelch Posted February 4, 2017 Posted February 4, 2017 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! Quote
LittleKitsu Posted February 4, 2017 Author Posted February 4, 2017 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. Quote
Recommended Posts
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.