Closed christianortel closed 1 year ago
Hi, thanks for your interest in this project! First, make sure you are using Java 17, this mod requires exactly that version to compile. Second, you can verify if the environment variable is correctly configured by executing the command echo $JAVA_HOME$
. Lastly, if nothing of these things works, you can manually add one line org.gradle.java.home=YOUR_JAVA_HOME
in gradle.properties
.
thank you, i ended up luckily fixing this issue shortly after, was having issues setting up the env variables paths but now i am receiving a new error that I have submitted!
Close since the issue is resolved.
It seems I am unable to run the code gradlew build after removing forge from the string next to common and fabric. Upon entering it says an error, ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the location of your Java installation.
I have set my environment variables quite a few times and still am unable to run the code after resetting, etc