Jump to content

[Guide] How to get L2J Server with Eclipse


Recommended Posts

Necessary software to download and install

 

"Eclipse Classic 3.5.1" or newer to compile the datapack.

Eclipse can be downloaded here: http://www.eclipse.org/downloads/

 

"Java JDK 6 Update 18" or newer to compile the datapack.

Java JDK can be downloaded here: http://java.sun.com/javase/downloads/index.jsp

 

"Subclipse 1.6.6" or newer to compile the datapack.

Install instructions can be found here: http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA

 

"Subversion 1.6.9" or newer to compile the datapack.

Subversion can be downloaded here: http://subversion.apache.org/packages.html

Note: If you are using Windows download "SlikSVN": http://www.sliksvn.com/en/download

 

Setting Eclipse

 

Launch Eclipse, and click:

Window -> Preferences-> Java-> Compiler

Check if the compiler compilance level is at 1.6, if not... change it!.

If it only shows 1.3 and 1.4, you do not have the latest version of Eclipse.

 

compiler.gif

 

Check that Eclipse has registered the correct JRE from your Java install.

Window -> Preferences-> Java -> Installed JREs

 

jre.gif

 

Setting JAVA_HOME

 

Please follow the instructions to set up JAVA_HOME environment variable in your computer. First find out the installation folder of Java development kit (JDK) in your machine. Let's assume it is installed in the folder "C:/j2sdk1.4.2"

 

1. Right click on the My Computer icon on your desktop and select properties

2. Click the Advanced Tab

3. Click the Environment Variables button

4. Under System Variable, click New

5. Enter the variable name as JAVA_HOME

6. Enter the variable value as the install path for the Development Kit

7. Click OK

8. Click Apply Changes

 

setjavahome.jpg

 

Install Subclipse in Eclipse 3.x

nstall instructions can be found here: http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA

 

We recomend to enable this option.

Window -> Preferences-> Team -> SVN -> Console

 

recommend.gif

 

When Subclipse has been installed, press on:

Window -> Show View -> Other and select SVN Repository.

 

svnx.gif

 

Anywhere in the white space of the SVN Repository window, Right click

Choose New -> Repository Location

 

newrepo.gif

 

Put this in the Url field

http://www.l2jserver.com/svn/trunk/L2_GameServer

Then press Finish

 

srepo.gif

 

Right click in the GameServer Repository

and select Checkout.

 

scheckout.gif

 

After Checkout is done... click in the Navigator window

Expand the directory tree to find the build.xml of the GameServer

Right click on build.xml -> Run As -> 1 Ant Build

Now it will compile the GameServer to a ZIP File.

 

sbuild.gif

 

Now pay close attention to the next window because it will display where it compiled a much needed zip file which is your main server files. Go to that location and extract the files in l2j-server.zip to your l2j-server folder and overwrite any old files if you have a previous version.

 

sbuilddone.gif

 

To Update Source Code from now on, after initial Checkout:

 

In the Navigator window:

 

Right click on L2_Gameserver.

Select Team.

Select Synchronize With Repository.

A Sychronize pane will open with a list of updates.

Right click on L2_Gameserver.

Click Update.

Compile and install again.

 

Now to Install L2J continue here -> http://www.l2jserver.com/trac/wiki/L2J_Install

 

This Guide Its Not Mine Your Gredits Here www.l2jserver.com/

Link to comment
Share on other sites

well, imo it should be locked.

why? extremedwarf has made an awesome and completed guide for this, this isnt the way to learn compile with 2-3 pictures, for a newbie that now starts his career as developer is some way difficult.

Link to comment
Share on other sites

well, imo it should be locked.

why? extremedwarf has made an awesome and completed guide for this, this isnt the way to learn compile with 2-3 pictures, for a newbie that now starts his career as developer is some way difficult.

well more guides never hurt anyone and the owner of the topic has -4 karma so he maybe tries for something better than this, good job Ro21 keep up the good work ;)

Link to comment
Share on other sites

well more guides never hurt anyone and the owner of the topic has -4 karma so he maybe tries for something better than this, good job Ro21 keep up the good work ;)

 

thanks Gx...i will try better than this...

Link to comment
Share on other sites

As They said its already explained, mate If You need karma or you want to help MXC community...firstly before posting any kind of guide/share etc - use search and check, maybe it was already shared (as in this case, it was)

 

Link to comment
Share on other sites

lol m8 if you write "how to compile" you will find at least 4 complete guides... anw try to work on smt unique to get rewarded

 

Usser already banned.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...