mirror of
https://gitlab.com/2009scape/singleplayer/windows.git
synced 2026-08-01 14:39:18 -06:00
Clear anything already passed into _JAVA_OPTIONS so users can't blame us for breaking their own environment.
This commit is contained in:
parent
7b72980c5f
commit
9daf2d2e24
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue