Whenever I try to run the batch file, it ends at PortalGun Mod Unloading dimensions from 20 -> -100 and Minecraft's server client based in Java does not run. I have attempted other parts added to batch files to no avail, like this one
"
@ECHO OFF
:CHECK
:: Determines Java Location.
if exist "C:\Program Files\Java\jre7\bin\java.exe" GOTO EXECUTE1
if exist "C:\Program Files\Java\jre6\bin\java.exe" GOTO EXECUTE2
if exist "C:\Program Files (x86)\Java\jre7\bin\java.exe" GOTO EXECUTE3
if exist "C:\Program Files (x86)\Java\jre6\bin\java.exe" GOTO EXECUTE4
else GOTO EXECUTE5
:: Executes CraftBukkit based on Java Location
:EXECUTE1
"C:\Program Files\Java\jre7\bin\java.exe" -Xincgc -Xmx1024M -jar "%~dp0JARNAME.jar" nogui
:EXECUTE2
"C:\Program Files\Java\jre6\bin\java.exe" -Xincgc -Xmx1024M -jar "%~dp0JARNAME.jar" nogui
:EXECUTE3
"C:\Program Files (x86)\Java\jre7\bin\java.exe" -Xincgc -Xmx1024M -jar "%~dp0JARNAME.jar" nogui
:EXECUTE4
"C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xincgc-Xmx1024M -jar "%~dp0JARNAME.jar" nogui
:EXECUTE5
java -Xincgc-Xmx1024M -jar "%~dp0JARNAME.jar" nogui
PAUSE"
but it just lead to what looked like Java being routed through the console, but no server being online, as I could look at whitelist or player etc. or ask for server help inside the console, not java app.
My computer has an i5 2500k processor
crossfired HD6850s
A SSD
on Windows 8.1 if it matters. Any help would be appreciated, Thanks!
"
@ECHO OFF
:CHECK
:: Determines Java Location.
if exist "C:\Program Files\Java\jre7\bin\java.exe" GOTO EXECUTE1
if exist "C:\Program Files\Java\jre6\bin\java.exe" GOTO EXECUTE2
if exist "C:\Program Files (x86)\Java\jre7\bin\java.exe" GOTO EXECUTE3
if exist "C:\Program Files (x86)\Java\jre6\bin\java.exe" GOTO EXECUTE4
else GOTO EXECUTE5
:: Executes CraftBukkit based on Java Location
:EXECUTE1
"C:\Program Files\Java\jre7\bin\java.exe" -Xincgc -Xmx1024M -jar "%~dp0JARNAME.jar" nogui
:EXECUTE2
"C:\Program Files\Java\jre6\bin\java.exe" -Xincgc -Xmx1024M -jar "%~dp0JARNAME.jar" nogui
:EXECUTE3
"C:\Program Files (x86)\Java\jre7\bin\java.exe" -Xincgc -Xmx1024M -jar "%~dp0JARNAME.jar" nogui
:EXECUTE4
"C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xincgc-Xmx1024M -jar "%~dp0JARNAME.jar" nogui
:EXECUTE5
java -Xincgc-Xmx1024M -jar "%~dp0JARNAME.jar" nogui
PAUSE"
but it just lead to what looked like Java being routed through the console, but no server being online, as I could look at whitelist or player etc. or ask for server help inside the console, not java app.
My computer has an i5 2500k processor
crossfired HD6850s
A SSD
on Windows 8.1 if it matters. Any help would be appreciated, Thanks!