Page 1 of 1

how to Launch l2j from eclipse

Posted: Tue Feb 02, 2016 3:01 pm
by misterelax
Im trying to launch l2 through eclipse.I use master(hi5)git repositories

i try this guide... viewtopic.php?f=94&t=19326
with the First method i cant do a lot because of missing launchers(maybe for latter version),with the Second i came up with this errors

Exception in thread "main" java.io.FileNotFoundException: .\log.cfg (Can't find a file)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at com.l2jserver.gameserver.GameServer.main(GameServer.java:464)

Anybody can help me figure out what to do?all are a bit of a mess in my head :crazy:

Re: how to Launch l2j from eclipse

Posted: Tue Feb 02, 2016 6:52 pm
by UnAfraid
Create your own launcher.
Create new project called L2JServer-debug/gameserver and copy there configs, log.cfg, console.cfg, log folder
Same for L2JServer-debug/loginserver
In launcher specify run path project L2JServer-debug/gameserver for gameserver and L2JServer-debug/loginserver for login server

Make sure you include all libs on classpath tab and thats all.

Image
Image
Image

Re: how to Launch l2j from eclipse

Posted: Mon Feb 08, 2016 6:57 pm
by misterelax
xmmm...and what i suppose to give as main class?

Re: how to Launch l2j from eclipse

Posted: Mon Feb 08, 2016 7:57 pm
by UnAfraid

Code: Select all

com.l2jserver.gameserver.GameServer