From 9a3843ab17fa972989afc89d6e27f35a7631eace Mon Sep 17 00:00:00 2001 From: zleyyij Date: Sun, 23 Jul 2023 08:33:03 -0600 Subject: [PATCH] vault backup: 2023-07-23 08:33:03 --- Setting up a Minecraft server.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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.