Jump to content

Possible fix for: Could not find the main class: zombie.network.GameServer


Xairoo

Recommended Posts

I tried to update to build 29...

 

I also tried to install a fresh build 29 and update from 28 to 29, both did not work.

Exception in thread "main" java.lang.UnsupportedClassVersionError: zombie/network/GameServer : Unsupported major.minor version 51.0        at java.lang.ClassLoader.defineClass1(Native Method)        at java.lang.ClassLoader.defineClass(ClassLoader.java:643)        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)        at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)        at java.net.URLClassLoader.access$000(URLClassLoader.java:73)        at java.net.URLClassLoader$1.run(URLClassLoader.java:212)        at java.security.AccessController.doPrivileged(Native Method)        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)        at java.lang.ClassLoader.loadClass(ClassLoader.java:323)        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)        at java.lang.ClassLoader.loadClass(ClassLoader.java:268)Could not find the main class: zombie.network.GameServer. Program will exit.

Reinstalling the stable 28 build works great. So...? =)

 

// Update

 

Got it working, forgot to choose the correct java version:

apt-get install openjdk-7-jre-headlessupdate-alternatives --config java
Edited by Xairoo
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...