diff --git a/Setting up a Minecraft server.md b/Setting up a Minecraft server.md index cc84aa3..03ff4b6 100644 --- a/Setting up a Minecraft server.md +++ b/Setting up a Minecraft server.md @@ -8,7 +8,11 @@ As of 2023-07, Minecraft requires Java 17 to run version 1.20.1. You may need to - Prior to installation, be sure to remove a java installation if it exists on your system. You can see if java is present on your distro with `java --version`. -The format of the install command will change depending on the Java version, distro repositories and package manager, but this is what you'd run to install Java 17 on Debian 1 +The format of the install command will change depending on the Java version, distro repositories and package manager, but this is what you'd run to install Java 17 on Debian 12: +``` +sudo apt install openjdk-17-jre-headless +``` + This enables minecraft to run in the background, restart if it crashes, etc etc.