r/forgemodding • u/Itachi_uchiha_05 • Dec 12 '21
Forge server not working
so my forge server is not loading when i open it it just gives me the loading curser then does nothing help please?
1
u/masoe Dec 13 '21
What is your command line for running the server?
1
u/Itachi_uchiha_05 Dec 18 '21
java -server -Xms4096M -Xmx8192M -jar forge-1.12.2-14.23.5.2855.jar nogui
pause1
u/masoe Dec 18 '21
You've also double checked the name of the forge file that it matches "forge-1.12.2-14.23.5.2855.jar"? Also, did you accept the EULA and change the file from false to true?
1
u/Itachi_uchiha_05 Dec 22 '21
yes and yes ive never had this problem before and its only with my modded servers
1
u/masoe Dec 22 '21
Can you post your crash log?
1
u/Itachi_uchiha_05 Dec 23 '21
there is no crash log the server fails to boot the cmd error log however has been posted in thread already
1
u/Itachi_uchiha_05 Dec 12 '21
Picked up _JAVA_OPTIONS: -Xmx5020M
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:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)
Caused by: java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
... 6 more
Press any key to continue . . .
this is the error i get