Problem Registergameserveur.bat

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
starz
Posts: 26
Joined: Mon May 17, 2010 7:10 pm

Problem Registergameserveur.bat

Post by starz »

Hello guys! Actually,i have a big problem when i install l2j. I am following the L2jserveur.com 's wiki,and they tell me that i have to open registergameserver.bat.
But when i open it,it instantatly close and nothing happens. I tried to open GSResgister.exe but they told me an error (could not find the main class: com.l2jserver.gsregistering.BaseGameServerRegister. Program will exit. )
How can i open this file (registergameserveur.bat) please? Thanks a lot^^'
starz
Posts: 26
Joined: Mon May 17, 2010 7:10 pm

Re: Problem Registergameserveur.bat

Post by starz »

Starting L2J Game Server.

Exception in thread "main" java.lang.NoClassDefFoundError: com/l2jserver/gameser
ver/GameServer
Caused by: java.lang.ClassNotFoundException: com.l2jserver.gameserver.GameServer

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.gameserver.GameServer. Program wil
l exit.

Server terminated abnormaly.






That's the error.
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: Problem Registergameserveur.bat

Post by JIV »

reinstall your server.
starz
Posts: 26
Joined: Mon May 17, 2010 7:10 pm

Re: Problem Registergameserveur.bat

Post by starz »

Yes i have done it. I have dl here http://www.l2jserver.com/nightly/
:/
starz
Posts: 26
Joined: Mon May 17, 2010 7:10 pm

Re: Problem Registergameserveur.bat

Post by starz »

Can someone help me please?^^'
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Problem Registergameserveur.bat

Post by janiii »

follow the setup and installation instructions for creating directories and installing the server properly.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
starz
Posts: 26
Joined: Mon May 17, 2010 7:10 pm

Re: Problem Registergameserveur.bat

Post by starz »

I have reinstalled with eclipse. I follow all the instructions.:/ The error is the same
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Problem Registergameserveur.bat

Post by janiii »

then you do something wrong when copying the files and you start the server from somewhere totally wrong. check the guide again. try, read, try, read... we cannot know what you do wrong, but you do. just follow the instructions.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Problem Registergameserveur.bat

Post by janiii »

DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
starz
Posts: 26
Joined: Mon May 17, 2010 7:10 pm

Re: Problem Registergameserveur.bat

Post by starz »

Hi, i have followed the first link janii. Thank for your help but now,i am at the step: Run Registergameserver.bat and now there is another error: FATAL: Failed to load default translation.
starz
Posts: 26
Joined: Mon May 17, 2010 7:10 pm

Re: Problem Registergameserveur.bat

Post by starz »

Arghh i have retried again and again. I don't know where is the problem --'I am Sorry but if somebody can help me,it will be nice^^'
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: Problem Registergameserveur.bat

Post by JIV »

tell us what you did exactly step by step.
starz
Posts: 26
Joined: Mon May 17, 2010 7:10 pm

Re: Problem Registergameserveur.bat

Post by starz »

ok first i have installed Java here http://java.sun.com/javase/downloads/index.jsp JDK 6 update 20==> Download JDK.
2: I have dl mysql ==> i have launched .exe and i have putted : root port: 3306 pass: azerty
3.I have dl eclipse,Window,New software installation,Add, i have putted this link http://subclipse.tigris.org/update_1.6.x/ and OK. Then i selected it and i have installed it.
4: After, Window==>Show view==>Other===>SVN reposities===> New repositie===>
For Core: http://www.l2jserver.com/svn/trunk/L2_GameServer
For Dp: http://www.l2jdp.com/svn/trunk/datapack_development
I have clicked on "check out" for these links.
5. I have created a folder "L2J" on my deskop and i have putted the 2 folders "datapack_development" and "l2_gameserver" in it.
6. I oppened Navicat, New database: Connection Name: localhost

Host Name/Ip Address: localhost

Port: 3306

User Name: root

Password: azerty


And then,i have created "L2JDB".
7. I launched database_installer==> i made a full install.
8. I tried to open registergameserver.bat and there is this error.
I also tried startloginserver.bat and startgameserver.bat and the error is the same.
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: Problem Registergameserveur.bat

Post by JIV »

extract both zip (core + dp) to one folder.
starz
Posts: 26
Joined: Mon May 17, 2010 7:10 pm

Re: Problem Registergameserveur.bat

Post by starz »

Yes I have putted "core" and "db" in a one folder (named L2J)
Locked