Hi, I have recently started a new server for I and my friend.
I would like to migrate to forge and I have already run a forge server on a old minecraft version.
So I have download the latest forge server try different version but all for 1.12.2.
I have no mods in my mods folder, im just following the step as explain on tutorial.
But the problem is when im trying to run the forge-1.12.2-14.23.0.2491-universal it close immediatly.
I have searched in a lot of topic and forum youtube video etc. But didn't find what is wrong.
Tried the essential library missing but not this problem
Tried redownload the forge support didnt work
Tried another version of forge for 1.12.2 didnt work
My start bat is java -Xmx4096M -Xms4096M -jar forge-1.12.2-14.23.0.2491-universal.jar
PAUSE
The system show me this message
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(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
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
Im not a newby and not a pro i have tried a lot of things but I don't know what to do.
It's funny because I have tried to update my java 8 https://www.java.com/en/download/win10.jsp and did'nt solved the problem im not on java 9 I didn't know it exist since Ive red it on a post.
Hi, I have recently started a new server for I and my friend.
I would like to migrate to forge and I have already run a forge server on a old minecraft version.
So I have download the latest forge server try different version but all for 1.12.2.
I have no mods in my mods folder, im just following the step as explain on tutorial.
But the problem is when im trying to run the forge-1.12.2-14.23.0.2491-universal it close immediatly.
I have searched in a lot of topic and forum youtube video etc. But didn't find what is wrong.
Tried the essential library missing but not this problem
Tried redownload the forge support didnt work
Tried another version of forge for 1.12.2 didnt work
My start bat is java -Xmx4096M -Xms4096M -jar forge-1.12.2-14.23.0.2491-universal.jar
PAUSE
The system show me this message
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(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
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
Im not a newby and not a pro i have tried a lot of things but I don't know what to do.
Thanks for helping me
No I have read some topic about Java 9 and see that is bad
Im running on Java 8
It's funny because I have tried to update my java 8 https://www.java.com/en/download/win10.jsp and did'nt solved the problem im not on java 9 I didn't know it exist since Ive red it on a post.
I have made research and see that is a java 9 edition on my computer that i didn't know will try to uninstall it
Finaly I have uninstall the java 9 version on my computer and redownload java 8 thanks you so much it work