anchor.diff:  %JAVA_CMD% -version
   if %ERRORLEVEL% NEQ 0 (
     echo ------------------- ERROR -------------------
  -  echo MCastPlugin.bat requires Java
  +  echo RMCastPlugin.bat requires Java
     exit /b 1
   )
   
  
positive.code: if defined GATEWAY_ROOT (
    echo Found GATEWAY_ROOT ... running MCastPlugin from there ...
  
    pushd "%GATEWAY_ROOT%\Gateway\MCastPlugin"
  
    %JAVA_CMD% -Djava.net.preferIPv4Stack=true -cp ^
        libs\gatewaypluginapi.jar;libs\slf4j-api-1.6.4.jar;libs\slf4j-simple-1.6.4.jar;libs\json-20090211.jar;libs\jgroups-gw.jar;libs\protobuf-java-2.3.0.jar;dist\lib\rmcastplugin.jar ^
  
negative.code: ) 
  
  
  echo Running RMCastPlugin from system directory ...
  
  set PLUGIN_BASE=%PROGRAMFILES%\ammo-gateway\bin
  if defined PROGRAMFILES(X86) (
  