Well since, previous similar topics have dead links or are digged on previous pages, i'm posting this guide made by Prezicator. One more guide, never hurted anyone, since it may cover parts that other guides didn't, and people can take advantage of them. It is written based on l2jsunrise project, and will show you how to set up Eclipse, with automated updates from SVN and build your own server. We are using l2jsunrise's SVN url's which are not open to everyone, for more information visit their website, however you can use other project's SVN links and the process is the same. Enough with the talking part lets start working This Guide will show you how to : 1.Download Java Jdk & install 2.Download Eclipse 3.Download & install Eclispe Subversion 4.Checkout Sunrise Repositories & Build project 1.Download Java Jdk & install Go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Accept licence agreement and chose your version After download instal`it ( it simple dont need tutorial )
2.Download Eclipse: Go to : Http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/marsr There chose your version and download
You will download one archive with eclipse Extract where you want :) 3.Download & install Eclispe Subversion: Open Eclipse Chose your workspace (where you whant) and hit OK
Close first page of eclipse
Go to Help > Install New Software
Hit Add
Write name (what you whant) Paste link at location ( link : http://subeclipse.tigris.org/update_1.8.x ) Hit OK
Check both Subeclipse and SVNKit Hit Next Hit Next Accept Terms & Finish
Restart Eclipse! 4.Checkout Sunrise Repositories & Build project: Eclipse is alerdy restertated so go to Window > Show View > Other
Go to SVN SVN Repositories
Now we will get Sunrise Core Go to SVN Repositories Area , hit right click on blank area , hit New> Repository Location
Instert url for sunrise core and hit Finish
After repository is added is time to checkout our project Open sunrisecore repository And chose what version you want to checkout Trunk links are for sql version Brances links are for xml version Right Click on your version , hit Checkout > Check out as a project in the workspace > Finish
And all is done you have Core source on your eclipse In order to compile Hit L2J_SunriseProject_Core > Right Click build > Run As > 1Ant Build
All Done, your core is now compiled and ready for use. You will need to do the same for data. In order to get datapack you must follow same steps from "Now we will get Sunrise Core" but only url must be changed with datapack url Optional Step If you have problems compile datapack Close eclipse Download and install https://sliksvn.com/download/ restart pc In rare cases that core build fails: Once you have the JDK installation path:[/size]
Right-click the My Computer icon on your desktop and select Properties.
Click the Advanced tab, then click the Environment Variables button.
Under System Variables, click New.
Enter the variable name as JAVA_HOME.
Enter the variable value as the installation path for the Java Development Kit.
Click OK.
Click Apply Changes.
You might need to restart Windows. https://confluence.atlassian.com/doc/setting-the-java_home-variable-in-windows-8895.html