RegisterGameServer.sh Help

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
sirkaronte
Posts: 4
Joined: Sun Nov 27, 2011 11:00 am

RegisterGameServer.sh Help

Post by sirkaronte »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:

Server Version=4470
Datapack Version=7733

My Os : Centos Server 64 bit(UNIX)
My version Java :java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02, mixed mode)


Hi all, Today i downloaded http://www.l2jserver.com/nightly/ Server and datapack

I modified the txt with my ip and passwords mysql..

but when i open RegisterGameServer I have this:

[Admin@lvps1xxxxxx-xx-xxx login]# ./RegisterGameServer.sh
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/l2jserver/gsregistering/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: com.l2jserver.gsregistering.GameServerRegister. Program will exit.


Help XD
User avatar
Szponiasty
Advanced User
Advanced User
Posts: 557
Joined: Mon Apr 21, 2008 1:31 pm
Location: Eastern Poland

Re: RegisterGameServer.sh Help

Post by Szponiasty »

update to java 7
And in the next chronicle they went into space, fighting the evil empire... In a galaxy far, far away xD
sirkaronte
Posts: 4
Joined: Sun Nov 27, 2011 11:00 am

Re: RegisterGameServer.sh Help

Post by sirkaronte »

Jdk or jre?
sirkaronte
Posts: 4
Joined: Sun Nov 27, 2011 11:00 am

Re: RegisterGameServer.sh Help

Post by sirkaronte »

Now i have this error

[root@lvpsn]# ./RegisterGameServer.sh
Error: There was an error while attempting to retrieve the list of currently registered GameServers.
Reason: Unknown database 'l2jls'
Exception in thread "main" java.lang.NullPointerException
at com.l2jserver.gsregistering.GameServerRegister.<init>(GameServerRegister.java:46)
at com.l2jserver.gsregistering.BaseGameServerRegister.startCMD(BaseGameServerRegister.java:279)
at com.l2jserver.gsregistering.BaseGameServerRegister.main(BaseGameServerRegister.java:187)
at com.l2jserver.gsregistering.GameServerRegister.main(GameServerRegister.java:34)

I HAVE INSTALLED :

[root@lvogin]# java -version
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) 64-Bit Server VM (build 21.1-b02, mixed mode)
User avatar
Szponiasty
Advanced User
Advanced User
Posts: 557
Joined: Mon Apr 21, 2008 1:31 pm
Location: Eastern Poland

Re: RegisterGameServer.sh Help

Post by Szponiasty »

instal ls and gs databases
And in the next chronicle they went into space, fighting the evil empire... In a galaxy far, far away xD
sirkaronte
Posts: 4
Joined: Sun Nov 27, 2011 11:00 am

Re: RegisterGameServer.sh Help

Post by sirkaronte »

i installed in the database :

l2jdb and l2jcb...

Now i changed Server , now i have BETA server


[root@lvps1 login]# ./RegisterGameServer.sh
Error: There was an error while attempting to retrieve the list of currently registered GameServers.
Reason: Unknown database 'l2jls'
Exception in thread "main" java.lang.NullPointerException
at com.l2jserver.tools.gsregistering.GameServerRegister.<init>(GameServerRegister.java:46)
at com.l2jserver.tools.gsregistering.BaseGameServerRegister.startCMD(BaseGameServerRegister.java:279)
at com.l2jserver.tools.gsregistering.BaseGameServerRegister.main(BaseGameServerRegister.java:187)
at com.l2jserver.tools.gsregistering.GameServerRegister.main(GameServerRegister.java:34)
[root@lvps1 login]#
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: RegisterGameServer.sh Help

Post by MELERIX »

Post Reply