anchor.diff:      -Dats.agent.components.folder="%COMPONENTS_FOLDER%" -Dagent.template.actions.folder="%TEMPLATE_ACTIONS_FOLDER%" ^
       -Dlogging.severity="%LOGGING_SEVERITY%" ^
       -Xms!MEMORY!m -Xmx!MEMORY!m -Dlogging.pattern="!LOGGING_PATTERN!" ^
  -    %JAVA_OPTS% %DEBUG_OPTIONS% ^
  +    %JAVA_OPTS% !DEBUG_OPTIONS! ^
       -jar ats-agent/ats-agent-standalone-containerstarter.jar
   
   ) ELSE (
  
positive.code:     goto next_java_version_check
  )
  
  :next_java_version_check
  echo %line% | FINDSTR /r 1\.[7-8]
  
  
negative.code: 
      REM Enable REMOTE debugging. By deault Java 9+ debugging is enabled only on localhost
      IF %DEBUG% EQU 1 (
          ECHO Enable remote debugging for Java 9+
          SET DEBUG_OPTIONS=-agentlib:jdwp=transport=dt_socket,server=y,address=*:%DEBUG_PORT%,suspend=n
      )
  
  