anchor.diff:  	call :stop
   	call :start
   goto :end
  +
  +
  +
  +:check_java
  +	setlocal
  +	java -version 1>NUL 2>NUL
  +	if 0 neq %ERRORLEVEL% (
  +		echo java is not installed
  +		echo MMX server needs java version 1.6 OR higher
  +		echo Please check https://java.com/en/download/
  +		exit 1
  +	)
  +
  +	for /f tokens^=2-5^ delims^=.-_^" %%j in ('java -fullversion 2^>^&1') do set "jver=%%j%%k%%l%%m
  +	if %jver% LSS 16000 (
  +		echo MMX server needs java version 1.6 OR higher
  +		echo Please check https://java.com/en/download/
  +		exit 1
  +	)
  +	echo java is installed
  +
  +	endlocal
  +goto :eof
   
   
   
  
positive.code: @echo off
  
  setlocal
  
  if "%selfWrapped%"=="" (
    SET selfWrapped=true
  
negative.code:   GOTO :EOF
  )
  
  if "-p"=="%1" (
  	set check_port=false
  	shift
  )	
  
  if "start"=="%1" (
  	call :start
  