[p]Hello,[/p]
[p]I am trying to run a minecraft forge server but when I try to start the forge.jar i get the popup on mac saying "The jar file cannot be launched check console for messages"[/p]
[p]then when i try to run it through terminal with the java -jar command i get this message [/p]
A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException[/p]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[/p]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[/p]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[/p]
at java.base/java.lang.reflect.Method.invoke(Method.java:564)[/p]
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:62)[/p]
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:31)[/p]
Caused by: java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader[/p]
at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)[/p]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)[/p]
... 6 more[/p]
Please help[/p]
I am running java se runtime environment 9.0.1 64x[/p]
[p]I am trying to run a minecraft forge server but when I try to start the forge.jar i get the popup on mac saying "The jar file cannot be launched check console for messages"[/p]
[p]then when i try to run it through terminal with the java -jar command i get this message [/p]
A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException[/p]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[/p]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[/p]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[/p]
at java.base/java.lang.reflect.Method.invoke(Method.java:564)[/p]
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:62)[/p]
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:31)[/p]
Caused by: java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader[/p]
at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)[/p]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)[/p]
... 6 more[/p]
Please help[/p]
I am running java se runtime environment 9.0.1 64x[/p]