Jump to content

Trying to launch Attack of the B-Team Server on Debian


Caminon

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...