Jump to content

Java problem with forge on my server


Recommended Posts

Hello. First apologies for my not so good English. A friend and I trying to run a modpack that runs with the latest forge version forge-1.12.2-14.23.5.2831. the problem is the Multicraft server runs on the java version 11 and we can't use an older version. the server does not manage to start forge with this version of java. can someone help me?

 

Bug report

 

23.06 11:30:54 [Multicraft] Starting server!
23.06 11:30:54 [Multicraft] Loaded config for "Default Minecraft Server"
23.06 11:30:54 [Server] INFO A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
23.06 11:30:54 [Server] INFO at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
23.06 11:30:54 [Server] INFO at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
23.06 11:30:54 [Server] INFO at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
23.06 11:30:54 [Server] INFO at java.base/java.lang.reflect.Method.invoke(Method.java:566)
23.06 11:30:54 [Server] INFO at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70)
23.06 11:30:54 [Server] INFO at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)
23.06 11:30:54 [Server] INFO 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')
23.06 11:30:54 [Server] INFO at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)
23.06 11:30:54 [Server] INFO at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
23.06 11:30:54 [Server] INFO ... 6 more
23.06 11:30:54 [Multicraft] Server shut down (starting)
23.06 11:30:54 [Multicraft] Restarting crashed server in 5 seconds
23.06 11:30:54 [Multicraft] Stopping server!
23.06 11:30:55 [Multicraft] Received stop command
23.06 11:30:55 [Multicraft] Looks like a crash, check the server console. Return value: 1
23.06 11:30:55 [Multicraft] Server stopped

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

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