Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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!

 

4 minutes ago, TheWhoDoctor11 said:

I know 1.12.2 is an older version of Minecraft.

Therefore, you should also know that 1.12.2 is not supported here. (Just 1.18.x and 1.19.x)

I'm not good at modding, but at least I can read a crash report (well enough). That's something, right?

  • Author
Just now, Hipposgrumm said:

Therefore, you should also know that 1.12.2 is not supported here. (Just 1.18.x and 1.19.x)

Yes, sorry, I just read this when looking through adn am trying to close the thread (I'm new apologies)

Guest
This topic is now closed to further replies.

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.