how to Launch l2j from eclipse

Have you created a useful tool? or Do you want to get help building one? This is the right place!
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
misterelax
Posts: 4
Joined: Wed May 27, 2015 1:59 pm
Location: Sta monopatia ths Giran

how to Launch l2j from eclipse

Post 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:
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: how to Launch l2j from eclipse

Post 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
Image
misterelax
Posts: 4
Joined: Wed May 27, 2015 1:59 pm
Location: Sta monopatia ths Giran

Re: how to Launch l2j from eclipse

Post by misterelax »

xmmm...and what i suppose to give as main class?
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: how to Launch l2j from eclipse

Post by UnAfraid »

Code: Select all

com.l2jserver.gameserver.GameServer
Image
Post Reply