anchor.diff:  set JAVA_OPTS=%JAVA_OPTS% -XX:MaxDirectMemorySize=%ES_DIRECT_SIZE%
   )
   
  -set JAVA_OPTS=%JAVA_OPTS% -Xss256k
  +rem thread stack size
  +set JVM_SS=256
   
   REM Enable aggressive optimizations in the JVM
   REM    - Disabled by default as it might cause the JVM to crash
   REM set JAVA_OPTS=%JAVA_OPTS% -XX:+AggressiveOpts
   
  -set JAVA_OPTS=%JAVA_OPTS% -XX:+UseParNewGC
  +
   set JAVA_OPTS=%JAVA_OPTS% -XX:+UseConcMarkSweepGC
   
   set JAVA_OPTS=%JAVA_OPTS% -XX:CMSInitiatingOccupancyFraction=75
   set JAVA_OPTS=%JAVA_OPTS% -XX:+UseCMSInitiatingOccupancyOnly
  -
  -REM When running under Java 7
  -REM JAVA_OPTS=%JAVA_OPTS% -XX:+UseCondCardMark
   
   REM GC logging options -- uncomment to enable
   REM JAVA_OPTS=%JAVA_OPTS% -XX:+PrintGCDetails
  
positive.code: echo Warning: JAVA_HOME points to a JRE and not JDK installation; a client (not a server^) JVM will be used...
  ) else (
  echo JAVA_HOME points to an invalid Java installation (no jvm.dll found in "%JAVA_HOME%"^). Existing...
  goto finally
  )
  
  :foundJVM
  
negative.code: rem Detect JVM version to figure out appropriate executable to use
  if not exist "%JAVA_HOME%\bin\java.exe" (
  echo JAVA_HOME points to an invalid Java installation (no java.exe found in "%JAVA_HOME%"^). Existing...
  goto:eof
  )
  "%JAVA_HOME%\bin\java" -version 2>&1 | find "64-Bit" >nul:
  
  