Page 1 of 2

How to run the server with Eclipse without compiling ?

Posted: Sun Feb 03, 2013 2:42 pm
by xvendettax
How can i run l2j without compiling ?

Re: How to run the server with Eclipse without compiling ?

Posted: Sun Feb 03, 2013 3:58 pm
by MELERIX
using nightly builds.

Re: How to run the server with Eclipse without compiling ?

Posted: Sun Feb 03, 2013 4:56 pm
by xvendettax
I mean in eclipse

Re: How to run the server with Eclipse without compiling ?

Posted: Sun Feb 03, 2013 8:08 pm
by MELERIX

Re: How to run the server with Eclipse without compiling ?

Posted: Mon Feb 04, 2013 3:54 pm
by SABREWULF
Wich one Eclipse is needed for this coz on download site i have lot of manny different types example:
Eclipse IDE for Java EE Developers, 221 MB
Eclipse Classic 4.2.1, 183 MB
Eclipse IDE for Java Developers, 150 MB
Eclipse IDE for C/C++ Developers, 129 MB
etc so witch one i can download?

Re: How to run the server with Eclipse without compiling ?

Posted: Mon Feb 04, 2013 3:58 pm
by Zoey76
SABREWULF wrote:Wich one Eclipse is needed for this coz on download site i have lot of manny different types example:
Eclipse IDE for Java EE Developers, 221 MB
Eclipse Classic 4.2.1, 183 MB
Eclipse IDE for Java Developers, 150 MB
Eclipse IDE for C/C++ Developers, 129 MB
etc so witch one i can download?
I personally use Eclipse Classic (with some free and paid addons).

jurchiks usually recommends Eclipse IDE for Java Developers.

In any case try to check our Wiki :wink:

Re: How to run the server with Eclipse without compiling ?

Posted: Mon Feb 04, 2013 4:21 pm
by xvendettax
THANKS ! :wink:

Re: How to run the server with Eclipse without compiling ?

Posted: Mon Feb 04, 2013 6:43 pm
by jurchiks
Zoey76 wrote:jurchiks usually recommends Eclipse IDE for Java Developers.
And the reason for that is that the Java Developers build contains everything necessary for a beginner/intermediate developer, and if at any point you need something more (for l2j you will need the SVN plugin, but it's not included in the Classic build either), you can add it via "Help > Install new software".

From my experience I've found the Classic build to be a bit slower than the Java Developers build (mostly because it loads more libraries), but even then I cut some parts out of the latter one to make it even more light-weight (like Maven, for example).

Re: How to run the server with Eclipse without compiling ?

Posted: Mon Feb 04, 2013 7:43 pm
by Zoey76
jurchiks wrote:
Zoey76 wrote:jurchiks usually recommends Eclipse IDE for Java Developers.
And the reason for that is that the Java Developers build contains everything necessary for a beginner/intermediate developer, and if at any point you need something more (for l2j you will need the SVN plugin, but it's not included in the Classic build either), you can add it via "Help > Install new software".

From my experience I've found the Classic build to be a bit slower than the Java Developers build (mostly because it loads more libraries), but even then I cut some parts out of the latter one to make it even more light-weight (like Maven, for example).
I wasn't criticizing you, I just give two valid options.

Re: How to run the server with Eclipse without compiling ?

Posted: Mon Feb 04, 2013 7:48 pm
by MELERIX
both versions are valid to debug.

just that we recommend Eclipse Classic aka Eclipse SDK (reasons explained in other post), thats all ;)

Re: How to run the server with Eclipse without compiling ?

Posted: Mon Feb 04, 2013 8:04 pm
by jurchiks
Zoey76 wrote:I wasn't criticizing you, I just give two valid options.
I didn't think you were, I was just giving some basis for my opinion, because sometimes people tend to ask the question "Why?".
MELERIX wrote:reasons explained in other post
What post is that?

Re: How to run the server with Eclipse without compiling ?

Posted: Fri Feb 15, 2013 3:48 pm
by xvendettax
I think the post is old because the launcher does not exist.

Can't debug server

Posted: Thu Jun 20, 2013 11:02 am
by Barry42
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 6070 last from SVN stable and beta
L2JDP Revision Number: 9817 last from SVN stable and beta

When lunch debuging as Java Application, from eclipse, i see an error(build is norm, bt not debug)

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)
what i have to do to solve this problem?

this error in:

Code: Select all

         try (InputStream is = new FileInputStream(new File(LOG_NAME)))        {            LogManager.getLogManager().readConfiguration(is);        } 

Re: Can't debug server

Posted: Thu Jun 20, 2013 1:01 pm
by Zoey76
You need to modify your launch script to take some folder as server root and deploy there the files.

Re: Can't debug server

Posted: Thu Jun 20, 2013 3:00 pm
by Barry42
And where the lunch script is? :oops: