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

Unrecognized option: -d64 Problem when attempting to execute ...\forge...universal.jar #91

Open
JovadaPlayz opened this issue Jun 13, 2022 · 1 comment

Comments

@JovadaPlayz
Copy link

I have changed a bunch of values to 1 in the settings.cfg to force internet connection and so on, have added a forge installer to the ForeverStranded Folder and it downloads it everything works but fails at the following, please help I can't figure it out:

DEBUG: Attempting to execute [ java -Xmx5G -server -d64 -Xms1G -XX:+ExplicitGCInvokesConcurrent -XX:+ExplicitGCInvokesConcurrentAndUnloadsClasses -XX:+UseConcMarkSweepGC -Dsun.rmi.dgc.server.gcInterval -jar "D:\Games\Minecraft\ForeverStranded\forge-1.10.2-12.18.3.2511-universal.jar" nogui ]
Unrecognized option: -d64
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

WARN: Forever Stranded Server was stopped (possibly crashed)...
At 20220613:165841 Server has stopped.
Server has 2 consecutive stops, each within 600 seconds of eachother...

@MUYUTwilighter
Copy link

This problem seems to be caused by incorrect java version. For very new version of java, flag -d64 is no longer supported, which causing failure to create JVM.

The server-start script on this github project can only use default java version on your machine, so maybe another newer version of java is installed on your machine which changes the default version.

To fix this, you can change the default java version on your machine. A considerable methods can be found on google.

Or else, you can modify lines that start with "java" like java -d64 blablabla in the script, which is not suggested by ATM team. So it's up to you.

See #96

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

2 participants