anchor.diff:  
   goto fail
   
  -:init
  +:initJda
   @rem Get command-line arguments, handling Windows variants
   
   if not "%OS%" == "Windows_NT" goto win9xME_args
  
positive.code: set JAVA_HOME=%JAVA_HOME:"=%
  set JAVA_EXE=%JAVA_HOME%/bin/java.exe
  
  if exist "%JAVA_EXE%" goto init
  
  echo.
  echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
  
negative.code: 
  set JAVA_EXE=java.exe
  %JAVA_EXE% -version >NUL 2>&1
  if "%ERRORLEVEL%" == "0" goto initJda
  
  echo.
  echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
  