cmdgradleprompt

Gradle will not build in command prompt gradle -v


Gradle shows up in echo %PATH% no problem.. It has has it's own directory in Program Files, however when I attempt:

gradle -v .. 

It responds: 'gradle' is not recognised as an internal or external command, operable program or batch file..

I am trying to get this to work in conjunction with an Eclipse Simpleservlet project..


Solution

  • I just solved the problem. My PATH variable value was like:

    path1;path2,path3,gradlebinpath

    I replaced , with ; and added a ; at the end of the value and it just worked. The final value looked like:

    path1;path2;path3;gradlebinpath;