Page 1 of 1

problem with running (RegisterGameServer)

Posted: Sun Jun 24, 2012 3:29 pm
by Egoist
when you run an error RegisterGameServer.bat

Exception in thread "main" java.lang.UnsupportedClassVersionError: net/sf/l2j/gs
registering / GameServerRegister: Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1 (Native Method)
at java.lang.ClassLoader.defineClassCond (Unknown Source)
at java.lang.ClassLoader.defineClass (Unknown Source)
at java.security.SecureClassLoader.defineClass (Unknown Source)
at java.net.URLClassLoader.defineClass (Unknown Source)
at java.net.URLClassLoader.access $ 000 (Unknown Source)
at java.net.URLClassLoader $ 1.run (Unknown Source)
at java.security.AccessController.doPrivileged (Native Method)
at java.net.URLClassLoader.findClass (Unknown Source)
at java.lang.ClassLoader.loadClass (Unknown Source)
at sun.misc.Launcher $ AppClassLoader.loadClass (Unknown Source)
at java.lang.ClassLoader.loadClass (Unknown Source)
Could not find the main class: net.sf.l2j.gsregistering.GameServerRegister. Pro
gram will exit.
To continue, press any key. . .

with jre 7

sorry for bad english, I just Russian

Re: problem with running (RegisterGameServer)

Posted: Sun Jun 24, 2012 3:39 pm
by nonom
"Unsupported major.minor version 51.0"

It means that you compiled your classes under a specific JDK, but then try to run them under a different version.

Re: problem with running (RegisterGameServer)

Posted: Sun Jun 24, 2012 3:42 pm
by Egoist
I compiled the version 1,7 (jdk1.7.0_05) and correspond to the well and run on this one, compiled by Eclipse can not set up that the true test?

Re: problem with running (RegisterGameServer)

Posted: Sun Jun 24, 2012 5:43 pm
by Egoist
figured out what was the problem I have is 64 bits, and put 32 and it worked, just tell me where there is a table of Antharas, Valakas and other great bosses