How to run the server with Eclipse without compiling ?

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
User avatar
xvendettax
Posts: 10
Joined: Fri Apr 22, 2011 1:28 pm
Location: Bulgaria

How to run the server with Eclipse without compiling ?

Post by xvendettax »

How can i run l2j without compiling ?
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

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

Post by MELERIX »

using nightly builds.
User avatar
xvendettax
Posts: 10
Joined: Fri Apr 22, 2011 1:28 pm
Location: Bulgaria

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

Post by xvendettax »

I mean in eclipse
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

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

Post by MELERIX »

SABREWULF
Posts: 1
Joined: Mon Feb 04, 2013 3:02 pm

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

Post 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?
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

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

Post 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:
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
User avatar
xvendettax
Posts: 10
Joined: Fri Apr 22, 2011 1:28 pm
Location: Bulgaria

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

Post by xvendettax »

THANKS ! :wink:
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

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

Post 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).
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

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

Post 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.
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

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

Post by MELERIX »

both versions are valid to debug.

just that we recommend Eclipse Classic aka Eclipse SDK (reasons explained in other post), thats all ;)
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

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

Post 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?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
xvendettax
Posts: 10
Joined: Fri Apr 22, 2011 1:28 pm
Location: Bulgaria

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

Post by xvendettax »

I think the post is old because the launcher does not exist.
Barry42
Posts: 12
Joined: Thu May 09, 2013 5:22 am

Can't debug server

Post 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);ย  ย  ย  ย  }ย 
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: Can't debug server

Post by Zoey76 »

You need to modify your launch script to take some folder as server root and deploy there the files.
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
Barry42
Posts: 12
Joined: Thu May 09, 2013 5:22 am

Re: Can't debug server

Post by Barry42 »

And where the lunch script is? :oops:
Post Reply