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.
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?
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.
Moderators Munaus Posted July 10, 2018 Moderators Posted July 10, 2018 server issue, moved to Server OP Swap Shop
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now