anchor.diff:  		echo Please check https://java.com/en/download/
   		exit 1
   	)
  -	echo java is installed
   
   	endlocal
   goto :eof
  
positive.code: :check_ports
  	netstat -aon | findstr "%PORT_TO_CHECK%" 1>NUL
  	if %ERRORLEVEL% equ 0 (
  		echo TCP port "%PORT_TO_CHECK%" is already in use, cannot start messaging server
  		exit 1
  	)
  	echo Using ports "%PORT_TO_CHECK%"
  
negative.code: set PORT_TO_CHECK=9090
  
  set check_port=true
  set TITLE="MagnetMessage"
  set PROG=mmx-server
  set OPENFIRE_HOME=%CD%\..
  
  