Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minecraft server problem (Hosting) 1.12.2 #179

Open
JulioCBC13 opened this issue Apr 13, 2020 · 2 comments
Open

minecraft server problem (Hosting) 1.12.2 #179

JulioCBC13 opened this issue Apr 13, 2020 · 2 comments

Comments

@JulioCBC13
Copy link

A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
13.04 03:55:13 [Server] INFO at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
13.04 03:55:13 [Server] INFO at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
13.04 03:55:13 [Server] INFO at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
13.04 03:55:13 [Server] INFO at java.base/java.lang.reflect.Method.invoke(Method.java:566)
13.04 03:55:13 [Server] INFO at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:62)
13.04 03:55:13 [Server] INFO at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:31)
13.04 03:55:13 [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')
13.04 03:55:13 [Server] INFO at net.minecraft.launchwrapper.Launch.(Launch.java:34)
13.04 03:55:13 [Server] INFO at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
13.04 03:55:13 [Server] INFO ... 6 more

plis help me

@DieGamingDullis
Copy link

The old Forge Versions doesn't work anymore! Pls upgrade to an newer version. (1.14.4 or 1.16.5)

@JojocraftTv
Copy link

Try running it with Java 8.
Forge 1.12.2 only supports up to JDK 8.
Hope this helps :)

If you have more Java version installed on your Server, you can force the server to use a specific version:
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -Xmx5G -jar forge.jar

Link for Java 8: https://www.oracle.com/de/java/technologies/javase/javase-jdk8-downloads.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants