Page 1 of 1

Cannot Start Login/GameServer

Posted: Wed Feb 01, 2012 1:14 pm
by makoo
L2J Server Version=4470
L2JDP Datapack Version=7733

error with everys batchs files : Could not find or load main class com.l2jserver.gameserver.GameServer

if I extract the com from the l2jlogin.jar and put it on libs I can open theses program :
L2JConfig.exe,RegisterGameServer.exe

If I remove the com directory from libs they do not start.

OS : XP SP3
2 Gig memory
I have java installed :
1.7.0_02 acivated
1.6.0_30 disabled
1.6.0 disabled
MY SQL version : 5.0.27

What can I do ?

Re: Cannot Start Login/GameServer

Posted: Wed Feb 01, 2012 1:26 pm
by afk5min
Explanation: the class cannot be found after traversing the CLASSPATH.
Possible reasons:
Source not compiled (if launching from eclipse, you may have disabled Project -> Build Automatically).
JAR files (either core or lib) missing/deployed wrongly.

Please display your directory tree (mainly, where are the JAR files and where are the bat files).

Re: Cannot Start Login/GameServer

Posted: Wed Feb 01, 2012 1:34 pm
by Zoey76
This is possible because nightly builds are broken, try to compile from SVN.

Re: Cannot Start Login/GameServer

Posted: Wed Feb 01, 2012 4:20 pm
by makoo
There is some kind of walkthrough
of how to retrieve the source code and how compile it ?

Re: Cannot Start Login/GameServer

Posted: Wed Feb 01, 2012 4:23 pm
by Battlecruiser

Re: Cannot Start Login/GameServer

Posted: Wed Feb 01, 2012 5:48 pm
by makoo
Every thing is now under control!!!

Thank you very much

Works great !

Re: Cannot Start Login/GameServer

Posted: Sat Feb 04, 2012 12:14 pm
by Motorola
Try to start already finished Assembly, http://www.l2jserver.com/nightly/
but it also does not start.

Starting L2J Login Server.

Error: Could not find or load main class com.l2jserver.loginserver.L2LoginServer
A problem in the file l2jlogin.jar

same thing with GameServer.

Re: Cannot Start Login/GameServer

Posted: Sun Feb 05, 2012 3:43 pm
by makoo
use this link
http://trac.l2jserver.com/wiki/Eclipse
and step by stepdo what it is said then compile the project
It will works

Re: Cannot Start Login/GameServer

Posted: Sun Feb 05, 2012 6:36 pm
by OptimusPrime
makoo wrote:L2J Server Version=4470
L2JDP Datapack Version=7733

error with everys batchs files : Could not find or load main class com.l2jserver.gameserver.GameServer

if I extract the com from the l2jlogin.jar and put it on libs I can open theses program :
L2JConfig.exe,RegisterGameServer.exe

If I remove the com directory from libs they do not start.

OS : XP SP3
2 Gig memory
I have java installed :
1.7.0_02 acivated
1.6.0_30 disabled
1.6.0 disabled
MY SQL version : 5.0.27

What can I do ?
Dowload and recompile source again.

Re: Cannot Start Login/GameServer

Posted: Tue Feb 07, 2012 11:38 am
by Motorola

Re: Cannot Start Login/GameServer

Posted: Tue Feb 07, 2012 1:03 pm
by makoo
Hi,
nightly builds are broken, try to compile from SVN.

http://trac.l2jserver.com/wiki/Eclipse