Page 1 of 3
Problem Registergameserveur.bat
Posted: Mon May 17, 2010 7:32 pm
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^^'
Re: Problem Registergameserveur.bat
Posted: Mon May 17, 2010 8:08 pm
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.
Re: Problem Registergameserveur.bat
Posted: Mon May 17, 2010 8:18 pm
by JIV
reinstall your server.
Re: Problem Registergameserveur.bat
Posted: Tue May 18, 2010 6:38 am
by starz
Yes i have done it. I have dl here
http://www.l2jserver.com/nightly/
:/
Re: Problem Registergameserveur.bat
Posted: Tue May 18, 2010 11:13 am
by starz
Can someone help me please?^^'
Re: Problem Registergameserveur.bat
Posted: Tue May 18, 2010 3:15 pm
by janiii
follow the setup and installation instructions for creating directories and installing the server properly.
Re: Problem Registergameserveur.bat
Posted: Tue May 18, 2010 4:45 pm
by starz
I have reinstalled with eclipse. I follow all the instructions.:/ The error is the same
Re: Problem Registergameserveur.bat
Posted: Tue May 18, 2010 4:47 pm
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.
Re: Problem Registergameserveur.bat
Posted: Tue May 18, 2010 4:50 pm
by janiii
Re: Problem Registergameserveur.bat
Posted: Tue May 18, 2010 5:52 pm
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.
Re: Problem Registergameserveur.bat
Posted: Wed May 19, 2010 1:28 pm
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^^'
Re: Problem Registergameserveur.bat
Posted: Wed May 19, 2010 1:41 pm
by JIV
tell us what you did exactly step by step.
Re: Problem Registergameserveur.bat
Posted: Wed May 19, 2010 3:32 pm
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.
Re: Problem Registergameserveur.bat
Posted: Wed May 19, 2010 4:48 pm
by JIV
extract both zip (core + dp) to one folder.
Re: Problem Registergameserveur.bat
Posted: Wed May 19, 2010 5:00 pm
by starz
Yes I have putted "core" and "db" in a one folder (named L2J)