Solved NoClassDefFoundError

Discussion in 'Bukkit Help' started by Skrubzy, Nov 4, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    Skrubzy

    So I tried starting up my test server to try out a plugin I had made; the server didn't start and this is the error it gave me.
    I tried making a new server with no plugins installed and no settings configured, but I got the same error.
    Code:
    C:\Users\Skrubzy\Desktop\1.9 Server>java -Xmx1024M -jar spigot.jar -o true
    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object
    
    C:\Users\Skrubzy\Desktop\1.9 Server>PAUSE
    Press any key to continue . . .
     
  2. Offline

    I Al Istannen

    @Skrubzy
    Sounds like the Java Installation is damaged or the Path is screwed up. The simplest way would probably be a re-installation of Java. Deinstall it and then download and install a fresh copy.

    You could also do a more sophisticated troubleshooting if you are fine with changing the environment variables in windows :p
    Then you will need to navigate to the directory java is installed in (using "cd" on windows) and execute "java" from there. If it works, your path is screwed up.
     
  3. Offline

    Skrubzy

    Fixed. Thank you.
     
  4. Offline

    I Al Istannen

    @Skrubzy
    No problem :)

    Glad I could help (if I could :p)!
     
Thread Status:
Not open for further replies.

Share This Page