[GRADLE-1256] Running gradle.bat gives "The system cannot find the path specified" error in windows. Created: 18/Dec/10 Updated: 04/Jan/13 Resolved: 04/Jan/11 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 0.9-rc-3 |
Fix Version/s: | 0.9.2 |
Type: | Bug | ||
Reporter: | Arun Shanmugam Kumar | Assignee: | Hans Dockter |
Resolution: | Fixed | Votes: | 0 |
Description |
When I ran the gradle -v in the windows cmd shell, I am getting "The system cannot find the path specified" error. Looks like this is only a problem in my Windows XP 5.1 machine since when I ran it in Windows 7 it worked fine. Temp Fix that works for me: After looking inside the gradle.bat, the output of :fixpath call returns a wrong jdk path even though the input is correct path. Doing the below fixes the issue (atleast for me)... from set JAVA_HOME=%_FIXPATH:~1% change to @rem set JAVA_HOME=%_FIXPATH:~1% This is a temp fix that worked for me but I am not sure how to fix this in general. |