This is my first server and I need help. I'm trying to start up a MC Skyfactory 3 server for twitch launcher. I've been trying to figure this out for hours. I have Mac OS X El Captain. I have JRE v8.171 and I know this is a Java issue but I have no other Java versions installed and I know it is the right one. Here's the log:
This is my first server and I need help. I'm trying to start up a MC Skyfactory 3 server for twitch launcher. I've been trying to figure this out for hours. I have Mac OS X El Captain. I have JRE v8.171 and I know this is a Java issue but I have no other Java versions installed and I know it is the right one. Here's the log:
Last login: Fri May 4 02:20:57 on ttys000
/Users/Sleepinginwhite/Desktop/minecraft_server/ServerStart.command ; exit;
Rebeccas-MacBook-Pro:~ Sleepinginwhite$ /Users/Sleepinginwhite/Desktop/minecraft_server/ServerStart.command ; exit;
./settings.sh: line 27: unexpected EOF while looking for matching `"'
./settings.sh: line 29: syntax error: unexpected end of file
Starting server
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option PermSize; support was removed in 8.0
A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:62)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:31)
Caused by: java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader
at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
... 6 more
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
Here is my JVM Arguments as well:
export JAVACMD="java"
export MIN_RAM="512M" # -Xms
export MAX_RAM="3072M" # -Xmx
export PERMGEN_SIZE="256M" # -XX:PermSize
export JAVA_PARAMETERS=“-XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+CMSClassUnloadingEnabled -XX:ParallelGCThreads=2 -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10"
New log says this:
Last login: Fri May 4 03:07:28 on ttys000
Rebeccas-MacBook-Pro:~ Sleepinginwhite$ /Users/Sleepinginwhite/Desktop/minecraft_server/ServerStart.command ; exit;
Starting server
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option PermSize; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: Option UseParNewGC was deprecated in version 9.0 and will likely be removed in a future release.
Unrecognized VM option 'CMSIncrementalPacing'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]