[GRADLE-1232] gradle.bat fails when JAVA_HOME has a trailing backslash Created: 24/Nov/10 Updated: 04/Jan/13 Resolved: 04/Jan/11 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 0.9 |
Fix Version/s: | 0.9.2 |
Type: | Bug | ||
Reporter: | Taufiq Hoven | Assignee: | Hans Dockter |
Resolution: | Fixed | Votes: | 0 |
Description |
gradle.bat reports an error when JAVA_HOME is set to the following: C:\Progra~1\Java\jdk1.6.0_21\ Error reported: ERROR: JAVA_HOME is set to an invalid directory: C:\Progra~1\Java\jdk1.6.0_21\ Please set the JAVA_HOME variable in your environment to match the location of your Java installation. Workaround is to remove the trailing backslash from JAVA_HOME. |