-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
By Hipposgrumm · Posted
This is a java problem, not a forge problem. Try other methods of launching jar files and make sure you have a compatible version of java. -
By Hipposgrumm · Posted
Does this work in an empty dev environment? It might be your graphics drivers. -
By TheWhoDoctor11 · Posted
Hi all, Setting up a Forge server for the first time to run JurassiCraft 2, and needing a bit of expertise. I have the forge server installed from the Forge 1.12.2 Forge installer, and that had no issue. (One thing I saw online, is that there were some videos where the server installer made a mods folder in the server directory. This did not. Is this part of the issue? Or should running the forge file make this once I can get that up and running.) When trying to run the forge file it does not load, and when I run the command "java -jar forge-1.12.2-14.23.5.2859.jar" from the location of the file in cmd, I get this output. D:\Minecraft\Servers\Test>java -jar forge-1.12.2-14.23.5.2859.jar A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:110) at java.base/java.lang.reflect.Method.invoke(Method.java:577) 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) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) I am on the most updated version of Java, and maybe this is the issue? I know 1.12.2 is an older version of Minecraft. Do I need an older version of Java to run the server? Any help or even just explanations for why some things are the way they are would be incredibly helpful. I'm loving learning this kind of stuff. Thanks!
-
-
Topics
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.