Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with SeablockRustic Minecraft Server #181

Open
jmilkman opened this issue Oct 28, 2020 · 0 comments
Open

Issues with SeablockRustic Minecraft Server #181

jmilkman opened this issue Oct 28, 2020 · 0 comments

Comments

@jmilkman
Copy link

Getting an error message when running the Run_me.bat file.

C:\Users\Owner\Desktop\SeablockRusticWatersServer1.3.8>echo Starting server
Starting server

C:\Users\Owner\Desktop\SeablockRusticWatersServer1.3.8>java -server -Xms4096M -Xmx8192M -XX:PermSize=256M -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+CMSClassUnloadingEnabled -XX:ParallelGCThreads=2 -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -jar forge-1.12.2-14.23.5.2847-universal.jar nogui
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option PermSize; support was removed in 8.0
Unrecognized VM option 'UseParNewGC'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

C:\Users\Owner\Desktop\SeablockRusticWatersServer1.3.8>goto restart

Bat file

if not exist eula.txt (
echo Missing eula.txt. Startup will fail and eula.txt will be created
echo Make sure to read eula.txt before playing!
goto startserver
)

find "eula=false" eula.txt 1 > NUL 2>&1
if %ERRORLEVEL% EQU 0 (
echo Make sure to read eula.txt before playing! Exiting.
pause
exit /B
)

:startserver
rem Users change this.
set MIN_RAM=4096M
set MAX_RAM=8192M
set PERMGEN_SIZE=256M
set JAVA_PARAMETERS=-XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+CMSClassUnloadingEnabled -XX:ParallelGCThreads=2 -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10
:restart
echo Starting server
java -server -Xms%MIN_RAM% -Xmx%MAX_RAM% -XX:PermSize=%PERMGEN_SIZE% %JAVA_PARAMETERS% -jar forge-1.12.2-14.23.5.2847-universal.jar nogui
goto restart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant