Visual Studio Code unable to create java gradle projects

23 hours ago 3
ARTICLE AD BOX

I'm trying to fix this problem from some days now, I have 'gradle for java' and 'extension pack for java' extensions installed, but when I try to create a new gradle java project, it tryies to create it but then fails, it doesn't create any folder where specified and leaves no log anywhere of what happens, just a brief .init failed at the end of the creation attempt. Apparently I narrowed the problem down to gradle, since in the terminal the command 'gradle -v' doesn't work:

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. At line:1 char:1 + gradle -v + ~~~~~~ + CategoryInfo : ObjectNotFound: (gradle:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

But I have gradle 8.14.4 in C: and his path in windows erviroment variables, what is the problem? it even looks like Windows itself cant see gradle since in cmd 'gradle' is not recognized.

Read Entire Article