Hi, I recently decided to try and start modding but I didn't get very far after failing to set up the environment with gradle and the whole .\gradlew setupDecompWorkspace. I started getting the JAVA_HOME doesn't point to the JDK directory or similar and ended up giving up after a while but I think it might be with the versions of gradle and the JDK version I'm using. Once I changed the directory of the JAVA_HOME to my JDK directory, it said something about that it can't get the version of JDK from '13' because it was JDK-13...
Gradle 2.0 (the version it automatically installed after using the .\gradlew tasks command)
Hi, I recently decided to try and start modding but I didn't get very far after failing to set up the environment with gradle and the whole .\gradlew setupDecompWorkspace. I started getting the JAVA_HOME doesn't point to the JDK directory or similar and ended up giving up after a while but I think it might be with the versions of gradle and the JDK version I'm using. Once I changed the directory of the JAVA_HOME to my JDK directory, it said something about that it can't get the version of JDK from '13' because it was JDK-13...
Gradle 2.0 (the version it automatically installed after using the .\gradlew tasks command)
JDK 13
Tutorial I was using: https://blog.usejournal.com/a-beginners-guide-to-modding-minecraft-9a42536495f6
Also if I don't make much sense I'm sorry
I can spot one problem straight from the beginning. You should be modding on Java 8, not 13.
Download Java 8 from here: https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Once you do this make sure you update your JAVA_HOME path to the new JDK directory.