Jump to content

Recommended Posts

Posted

Hello!

My problem is the following: I want to make a hexxit server for my friends that I downloaded from technicpack.net, but when I click launch.bat it gives this error code:

Exception in thread "main" java.lang.ClassCastException: java.base/jdk.internal.
loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClass
Loader
        at cpw.mods.fml.relauncher.FMLRelauncher.<init>(FMLRelauncher.java:60)
        at cpw.mods.fml.relauncher.FMLRelauncher.instance(FMLRelauncher.java:52)

        at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:45)
        at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1367)

What can I do about this? I got the latest Java version.

Posted
10 hours ago, Simi23 said:

I got the latest Java version.

Which is the issue. You either have Java 9 or 10. You actually may need Java 7 for a Hexxit server.

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...