anchor.diff:          MOVE /Y "%KARAF_HOME%\lib.next" "%KARAF_HOME%\lib"
       )
   
  +    SET IS_RUNNABLE=false
  +    if "%ROOT_INSTANCE_RUNNING%" == "false" SET IS_RUNNABLE=true
  +    if "%CHECK_ROOT_INSTANCE_RUNNING%" == "false" SET IS_RUNNABLE=true
  +    if "%IS_RUNNABLE%" == "true" (
       "%JAVA%" %JAVA_OPTS% %OPTS% ^
           -classpath "%CLASSPATH%" ^
           -Djava.endorsed.dirs="%JAVA_HOME%\jre\lib\endorsed;%JAVA_HOME%\lib\endorsed;%KARAF_HOME%\lib\endorsed" ^
  
positive.code:         -Dkaraf.data="%KARAF_DATA%" ^
          -Djava.util.logging.config.file="%KARAF_BASE%\etc\java.util.logging.properties" ^
          %KARAF_OPTS% %MAIN% %ARGS%
  
      rem If KARAF_DAEMON is defined, auto-restart is bypassed and control given
      rem back to the operating system
  
negative.code: goto :EOF
  
  :CLASSPATH_END
  
  SET CHECK_ROOT_INSTANCE_RUNNING=true
  
  rem Execute the JVM or the load the profiler
  if "%KARAF_PROFILER%" == "" goto :RUN
  