Formerly buildOnJdk.bat would overwrite JAVA_HOME, even if the specific JAVA_HOME_XX version variable was not set.  This could cause JAVA_HOME to be set to blank.