problem with running (RegisterGameServer)

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Egoist
Posts: 4
Joined: Sun Jun 24, 2012 3:16 pm

problem with running (RegisterGameServer)

Post 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
User avatar
nonom
L2j Veteran
L2j Veteran
Posts: 649
Joined: Wed Mar 11, 2009 10:34 pm
Location: Magmeld

Re: problem with running (RegisterGameServer)

Post 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.
Image
"There are three kinds of people in this world, those who can count and those who can't"
Egoist
Posts: 4
Joined: Sun Jun 24, 2012 3:16 pm

Re: problem with running (RegisterGameServer)

Post 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?
Egoist
Posts: 4
Joined: Sun Jun 24, 2012 3:16 pm

Re: problem with running (RegisterGameServer)

Post 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
Post Reply