Jump to content

TheWhoDoctor11

Members
  • Posts

    2
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

TheWhoDoctor11's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Yes, sorry, I just read this when looking through adn am trying to close the thread (I'm new apologies)
  2. 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!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.