Fix to always use the Java version specified in JAVA_HOME
Merge pull request #647 from typesafehub/wip/h3nk3-bat-script-fix

Fix to always use the Java version specified in JAVA_HOME