Simi23

Hexxit server won't start up

2 posts in this topic

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
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

  • Similar Content

    • By adamcool4
      So I was making a server (as you do) and everything was fine and dandy until I went onto it with mods, server doesn't crash, but my modpack does!
      https://www.dropbox.com/s/l8fl88fw8uzjebg/crash-2018-11-02_21.33.07-client.txt?dl=1
    • By t0rched
      WorldAutomation.Net
      Click Here to Visit our Fully MC Integrated Site
      Custom Mod Pack and Server Community 
      CHECK OUT OUR MOD LIST

       
      Automation, Tech, Magic, Space and beyond!
       
      Minecraft 1.12.2 Release, 200+ mods and so MUCH MORE!!
      Latest releases of your favorite mods.
      Tailored configs and mod integration's.
      Come join our community at https://www.worldautomation.net.
      We have a dedicated server waiting for you, filled with adventure!
      JOIN OUR DISCORD FOR SERVER NEWS AND EVENTS
      DEDICATED, FAST, RELIABLE SERVER OPEN 24x7
      Follow us on Twitter (@wa_revived)
      And check us out on Facebook
      Custom Launcher Available!
    • By Psychodelic
      Have tried uninstalling both java and the launcher what else can i do? Will send error report but dont know how. Any help appreciated.
    • By ShrillBear52
      Since i'm able to launch my custom modpack i wanted to do a server as well for me and my friends. But after a few minuet when i join to my server it closes automatically for no reason.
      log:
      https://pastebin.com/14ARTv5f
      Also, the server crashes automatically if i put thaumcraft (1.12.2 version) to the mods folder.
      I would really appreciate any help
    • By [email protected]
      how do i add mods to an existing modpack on the technic launcher?

      i got a server that runs 1.7.10 pack with my friends and we want to add more mods to it. i know how to add mods to a existing modpack but that is for single player.
      how do i do it so my friends can play with me?