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
problem with running (RegisterGameServer)
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- nonom
- L2j Veteran
- Posts: 649
- Joined: Wed Mar 11, 2009 10:34 pm
- Location: Magmeld
Re: problem with running (RegisterGameServer)
"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.
It means that you compiled your classes under a specific JDK, but then try to run them under a different version.
-
- Posts: 4
- Joined: Sun Jun 24, 2012 3:16 pm
Re: problem with running (RegisterGameServer)
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?
-
- Posts: 4
- Joined: Sun Jun 24, 2012 3:16 pm
Re: problem with running (RegisterGameServer)
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