[SOLVED] gradlew : The term ‘gradlew’ is not recognized as the name of a cmdlet, function, script file, or operable program

Question

This Content is from Stack Overflow. Question asked by Mathguy3829

I’m getting into modding with forge 1.8.9, and I’ve setup my workspace. However, when trying to build gradle, i get this error:

gradlew : The term 'gradlew' 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.

Any idea on how to fix this? Thanks

Solution

basically what I did was download a previous version of jdk and java that was compatible with forge 1.8.9. You must also install gradle and set it in your PATH variable. Then, instead of gradlew, use gradle. It should work 🙂

For more tutorials visit Jtuto.com


This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 4.0.

people found this article helpful. What about you?