Installation - Windows systems
From a blank Windows machine to a running login + game server you can connect to.
What you will need:
Install JDK 25
Download the JDK 25 MSI from the link above and run the installer with defaults.
Download and extract Eclipse
Preferably to C:\eclipse\ and set the workspace to C:\eclipse\workspace.
At this point make sure Eclipse is using the right Java version: Window → Preferences → Java → Installed JREs. If your JDK 25 install folder isn't listed, add it with the Add... button.
Enable Eclipse Git support
- Open Eclipse.
- Click the top menu item Window.
- Select Show View.
- Click Other....
- From the Git folder select Git Repositories.
Check out the project
- In the Git Repositories view, click Clone a Git repository.
- URI:
https://gitlab.com/MobiusDevelopment/L2J_Mobius.git - Click Next > twice.
- Directory:
C:\eclipse\workspace\L2J_Mobius - Click Finish and wait for the clone to complete.
- Double click L2J_Mobius [master], then Working Tree.
- Right click any project → Import Projects... → Finish.
If you get "JRE System Library [JavaSE-25]" warnings, re-add JDK 25 from Window → Preferences → Java → Installed JREs.
Compile the project
- In the Package Explorer, expand the project to find
build.xml. - Right click
build.xml→ Run as... → 1 Ant Build. - Wait for the BUILD SUCCESSFUL console message.
- Find your compiled
L2J_Mobius.zipinC:\eclipse\workspace\L2J_Mobius\build.
Install XAMPP
Download and install XAMPP from the link above. The L2JMobius database runs on the MySQL service that ships with it.
Install the MySQL service
- Go to
C:\xampp. - Run
xampp-control(the one with the orange icon). - Click the X button next to MySQL.
- Click Yes to install it as a Windows service.
- Use the Start button to launch the service.
Run the server
- Extract your compiled
L2J_Mobius.zipto a folder. PreferablyC:\L2J_Mobius. - Go to
db_installerand runDatabaseInstaller.vbsto install the schema. - Go to
loginand runLoginServer.vbs. - Go to
gameand runGameServer.vbs.
Tuning notes
• Consider checking the MySQL setting optimizations post on the forum.
• Don't allocate more than ~28 GB of RAM in java.cfg, even if you can spare it, bigger heaps hurt GC latency more than they help.
• If you're a visual learner there is a YouTube walkthrough covering the same steps.