Skip to main content

Required Software

  • Update OS
  • Java
  • MariaDB (or MySQL)
  • Git

Update the OS

wuauclt /detectnow /updatenow

Get & Install Java

L2J is built using Java SE, to build you need Java JDK as well.

winget install EclipseAdoptium.Temurin.17.JDK

Check the Java version

java -version

We recommend updating the JAVA_HOME environment variable.


As long as it's possible, L2J will be compatible with the latest LTS (Long-Term-Support) version of Java, you can check the roadmap for Java SE here.

Get & Install Git

L2J uses Git as version control system on BitBucket, use it to get the latest versions.

winget install -e --id Git.Git

Check the Git version

git --version

We recommend getting the source code directly from our public repositories.

Get & Install the Database Server

Download and install a database server and create a specific user.

winget install -e --id MariaDB.Server

Execute the following SQL statements to create a L2J specific database user:

mariadb -u root -p
CREATE OR REPLACE USER 'l2j'@'%' IDENTIFIED BY 'l2jserver2019';
GRANT ALL PRIVILEGES ON *.* TO 'l2j'@'%' IDENTIFIED BY 'l2jserver2019';

We recommend (optionally) downloading and installing HeidiSQL or DBeaver to manage the database.


L2J is compatible with MySQL 8.0+, but we recommend MariaDB.