Clear anything already passed into _JAVA_OPTIONS so users can't blame us for breaking their own environment.

This commit is contained in:
Ceikry 2022-08-07 18:20:55 +00:00
parent 7b72980c5f
commit 9daf2d2e24

View file

@ -1,6 +1,8 @@
@echo off
title 2009scape console log
set _JAVA_OPTIONS=
netstat -an | findstr "0.0.0.0:43595" > NUL
if %ERRORLEVEL% equ 0 (
echo "Port 43595 is in use. Cannot start the server again."
@ -32,4 +34,4 @@ pushd %~dp0\game
popd
taskkill /im "mysqld.exe" /f
taskkill /im "java.exe" /f
taskkill /im "java.exe" /f