DropVPS Team
Writer: John hens
How to create minecraft server on debian 12

Table of Contents
What you will read?
Setting up a Minecraft server on Debian 12 allows you to host your own world, control player access, and enjoy smoother performance
Step 1: Update Debian
Before installation, update your system packages to avoid compatibility issues:
sudo apt update && sudo apt upgrade -y
Step 2: Install Java
Minecraft requires Java to run. Debian 12 supports the latest OpenJDK version:
sudo apt install -y openjdk-21-jdk
java -version
Step 3: Create a Server Directory
Keep server files organized inside a dedicated folder:
mkdir ~/minecraft && cd ~/minecraft
Step 4: Download Minecraft Server
Get the official Minecraft server .jar file and save it in your directory:
wget https://launcher.mojang.com/v1/objects/server.jar -O minecraft_server.jar
Step 5: Accept EULA
Minecraft won’t start unless you accept the license agreement:
echo "eula=true" > eula.txt
Step 6: Start the Server
Now launch your server with Java. Adjust memory values (-Xmx and -Xms) based on your system resources:
java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
Minecraft Server is now installed and running on Debian 12. The system is ready to host multiplayer worlds with full control over performance, settings, and player access.