Jump to content

Recommended Posts

Posted (edited)

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 )


image.jpg


 
2.Download Eclipse:
 
Go to : Http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/marsr
There chose your version and download 


image.jpg


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


image.jpg


Close first page of eclipse


image.jpg


Go to Help > Install New Software


image.jpg


Hit Add


image.jpg


Write name (what you whant)
Paste link at location ( link : http://subeclipse.tigris.org/update_1.8.x )
Hit OK


image.jpg


Check both Subeclipse and SVNKit
Hit Next 
Hit Next
Accept Terms & Finish


image.jpgimage.jpgimage.jpg


Restart Eclipse!
 
4.Checkout Sunrise Repositories & Build project:
 
Eclipse is alerdy restertated so go to Window > Show View > Other 


image.jpg


Go to SVN
SVN Repositories


image.jpg


Now we will get Sunrise Core
Go to SVN Repositories Area , hit right click on blank area , hit New> Repository Location


image.jpg


Instert url for sunrise core and hit Finish


image.jpg


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 


image.jpgimage.jpgimage.jpg


 
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


image.jpg


 
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

Edited by `NeverMore
Posted

Best guide I ever seen on this forum. +10
 

But I don't like this "SVN url's which are not open to everyone" Since we know we're all going to L2Jserver

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • DEVELOPMENT UPDATE #3   PLAYER SHOPS AND OFFLINE TRADING   Vaelor keeps trading in the hands of players while providing tools that make private stores easier to find and maintain. Search active player stores through Alt+B. Search by item name and view the available quantities and prices. Use Locate to mark the selected store on the map. Open a private store and continue selling while the game client is closed. Offline shops can remain active for up to 48 hours. A maximum of one offline shop can be active per device. Store information is saved after activation and updated as items are sold. Saved shops are restored following a server restart.   ━━━━━━━━━━━━━━━━━━━━━━   Open Beta is currently running.   Create account: https://l2vaelor.com/register Download: https://l2vaelor.com/#download Discord: https://discord.gg/qMgPxH2fd4
    • 🔒 Zero Password Required: 1-Click upgrade link gives you instant 5TB + Gemini Pro without sharing sensitive account credentials!     FINAL CALL: Google is Shutting This Down After October 2026! Google will NEVER bring back this window of opportunity again. Once this month ends, this massive backdoor upgrade is gone permanently!  BUY 2, GET 1 FREE IS STILL LIVE! Stock up now for yourself, your family, your business, and your friends! Think about it: Every single person you know uses a Gmail account, and everyone is running out of storage. Don't let your loved ones get trapped paying $20–$30 every single month when you can set them up with 5TB Cloud Storage + Gemini Advanced (12–18 Months) right now for only $15! Why Buy Bulk Activations Today? Instant Gift Value: Perfect lifetime-style gift for clients, family, or team members. 100% Private & Safe: Activates on personal Gmails—zero passwords or logins required. Global Access: Works worldwide with zero VPN hassles. Instant Automated Delivery: Receive your activation links in seconds 24/7! ‍ Time is running out fast—secure your extra free licenses before the October deadline hits! Order Your Bundle Now on the Website
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..