Reputation: 19
I'm trying to mod in minecraft and gradle is not working. When I type in "./gradlew genSources", it says I'm using Java 8, when everything is set to Java 17. Then, when I type in "gradle --version", it comes up with this:
gradle : The term 'gradle' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Nothing in the tutorial I am following has covered the issue, I'm wondering why the program is telling me it doesn't exist?
Upvotes: 1
Views: 449
Reputation: 2438
try ./gradlew -version
. because you may not have gradle natively installed
Upvotes: 1