Cannot Start Login/GameServer

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Locked
makoo
Posts: 20
Joined: Fri Jan 26, 2007 12:45 pm

Cannot Start Login/GameServer

Post 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 ?
afk5min
Posts: 38
Joined: Tue Jan 31, 2012 4:02 pm
Location: Away From Keyboard

Re: Cannot Start Login/GameServer

Post 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).
Compute sequentially, true or false?

Code: Select all

p :- p.p.ย ?- p.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: Cannot Start Login/GameServer

Post by Zoey76 »

This is possible because nightly builds are broken, try to compile from SVN.
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
makoo
Posts: 20
Joined: Fri Jan 26, 2007 12:45 pm

Re: Cannot Start Login/GameServer

Post by makoo »

There is some kind of walkthrough
of how to retrieve the source code and how compile it ?
User avatar
Battlecruiser
L2j Veteran
L2j Veteran
Posts: 332
Joined: Thu May 01, 2008 9:44 am

Re: Cannot Start Login/GameServer

Post by Battlecruiser »

Git user
makoo
Posts: 20
Joined: Fri Jan 26, 2007 12:45 pm

Re: Cannot Start Login/GameServer

Post by makoo »

Every thing is now under control!!!

Thank you very much

Works great !
User avatar
Motorola
Posts: 16
Joined: Tue May 03, 2011 4:42 am

Re: Cannot Start Login/GameServer

Post 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.
makoo
Posts: 20
Joined: Fri Jan 26, 2007 12:45 pm

Re: Cannot Start Login/GameServer

Post 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
OptimusPrime
Posts: 37
Joined: Tue Oct 18, 2011 11:20 am

Re: Cannot Start Login/GameServer

Post 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.
User avatar
Motorola
Posts: 16
Joined: Tue May 03, 2011 4:42 am

Re: Cannot Start Login/GameServer

Post by Motorola »

makoo
Posts: 20
Joined: Fri Jan 26, 2007 12:45 pm

Re: Cannot Start Login/GameServer

Post by makoo »

Hi,
nightly builds are broken, try to compile from SVN.

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