Page 1 of 1
[GUIDE] How to install L2J Server on Windows
Posted: Sun May 14, 2017 4:39 pm
by Zealar
This guide contains basic information how to run server on Windows x32/x64
The guide don't contains security tips or good practices so don't use it for production server!
In this guide will show you how to download, build and setup L2Jserver from scratch in 10 simple steps.
For this guide i will use follow software:
- Java JDK 8u131
- Eclipse IDE for Java EE Developers
- XAMPP
- HeidiSQL
- 7z
Without number 1 (Java) all other software have alternative what can be used, feel free to experiment.
Follow this step in this order to setup and run the server.
Step 0: Found your Windows version and type
Step 1: Create server directory
Step 2: Download listed software
Step 3: Install it
Step 4: Adjust Java
Step 5: Setup Eclipse
Step 6: Download source files
Step 7: Compile source files
Step 8: Setup DataBase
Step 9: Install the Server
Step 10: Run the Server
Re: [GUIDE] How to install L2J Server on Windows
Posted: Sun May 14, 2017 4:40 pm
by Zealar
Step 0 : Found your Windows version and type:
Press windows button + R
Enter "cmd" and press Enter or click OK
Copy and Paste (In windows terminal Paste text is with right mouse button)
Code: Select all
systeminfo | findstr /B /C:"OS Name" /C:"OS Version" /C:"System Type"
Check
System Type for x32 or x64 (if there is no numbers is x32)
Re: [GUIDE] How to install L2J Server on Windows
Posted: Sun May 14, 2017 4:42 pm
by Zealar
Step 1: Create server directory:
Create follow structure
Re: [GUIDE] How to install L2J Server on Windows
Posted: Sun May 14, 2017 4:42 pm
by Zealar
Step 2: Download listed software:
For all followed software download type based on your machine if there is only x32 version download it anyway.
Download all files in
D:\l2jserver\tools
Download Java
(Programing language required for run the server)
--------------------------------------------------------------------------------------------------------------------------------------
Download Eclipse IDE for Java EE Developers
(Download edit and build server files)
--------------------------------------------------------------------------------------------------------------------------------------
Download XAMPP
(MariaDB database)
--------------------------------------------------------------------------------------------------------------------------------------
Download HeidiSQL
(Manage the database)
--------------------------------------------------------------------------------------------------------------------------------------
Download 7z
(For unzip the files)
At the end you need to have that
Re: [GUIDE] How to install L2J Server on Windows
Posted: Sun May 14, 2017 4:43 pm
by Zealar
Step 3: Install it:
7z
Java
XAMPP
Eclipse
HeidiSQL
At the end you need to have follow in folder:
Re: [GUIDE] How to install L2J Server on Windows
Posted: Sun May 14, 2017 4:43 pm
by Zealar
Re: [GUIDE] How to install L2J Server on Windows
Posted: Sun May 14, 2017 4:44 pm
by Zealar
Re: [GUIDE] How to install L2J Server on Windows
Posted: Sun May 14, 2017 4:45 pm
by Zealar
Re: [GUIDE] How to install L2J Server on Windows
Posted: Sun May 14, 2017 4:45 pm
by Zealar
Step 7: Compile source files:
Wait till "3" end with building.
Double click or right button > Run Gradle Tasks
Wait till finish
When compile in console will see
For take compiled files need to visit follow directories
Code: Select all
D:\l2jserver\tools\workspace\git\l2j_server\build\distributions
L2J_Server_DATE.zip
Code: Select all
D:\l2jserver\tools\workspace\git\l2j_datapack\build\distributions
L2J_DataPack_DATE.zip
Copy that zips into
Need to have some like this (dates will be different)
Re: [GUIDE] How to install L2J Server on Windows
Posted: Sun May 14, 2017 4:47 pm
by Zealar
Re: [GUIDE] How to install L2J Server on Windows
Posted: Sun May 14, 2017 4:48 pm
by Zealar
Re: [GUIDE] How to install L2J Server on Windows
Posted: Sun May 14, 2017 4:48 pm
by Zealar
Step 10: Run the Server:
For server to run database need to be up.
XAMPP advantage.
XAMPP control center give you easy control on MySQL(MariaDB) server so we can start i only when need it also easy start/stop/restart.
But still if want we can start it with administrator rights and enable "1" Service or more sepeciic configs from "3" Config.
But if we don't use server non stop easy can just use "2" Start when need it and stop it when we done.
DATABASE NEED TO RUNNING FOR START THE SERVER
Go in
Start
startLoginServer.bat
Go in
Start
startGameServer.bat