Hi, I've just reworked the gradle.bat and gradlew.bat scripts in head to fix a bunch of bugs with %JAVA_HOME% handling, and to make %JAVA_HOME% optional.
However, I'm not particularly confident in my batch scripting abilities. So, if anyone could test these, particularly with older versions of Windows, I would appreciate it. -- Adam Murdoch Gradle Developer http://www.gradle.org CTO, Gradle Inc. - Gradle Training, Support, Consulting http://www.gradle.biz
