Caminon Posted July 8, 2018 Posted July 8, 2018 Whenever I try to run the sh in the server folder in the terminal, this happens: A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:48) at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:17) Caused by: java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader at net.minecraft.launchwrapper.Launch.<init>(Launch.java:33) at net.minecraft.launchwrapper.Launch.main(Launch.java:27) ... 6 more I'm running on Debian, just installed java fresh on this computer. I can't seem to figure out why it won't work. Quote
Caminon Posted July 9, 2018 Author Posted July 9, 2018 1 hour ago, JaariAtmc said: What's your java version? I have tried both Java 9 and Java 8, with me running Java 9 right now. Am I missing dependencies? Quote
JaariAtmc Posted July 9, 2018 Posted July 9, 2018 4 hours ago, Caminon said: I have tried both Java 9 and Java 8, with me running Java 9 right now. Am I missing dependencies? Java 9 and Java 10 will absolutely not work with Forge, nor the launcher. For Java 8 you will need to add the legacyjavafixer if this is not already included in the server modpack. Otherwise, you could manually update to forge 1345 which includes this. The original latest (and lower) Forge versions for 1.6.4 did not support Java 8. Quote
Moderators Munaus Posted July 10, 2018 Moderators Posted July 10, 2018 server issue, moved to Server OP Swap Shop Quote
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.