From 460bcf380b492ebbdb60d3dfa9a5a9c4ed36f4de Mon Sep 17 00:00:00 2001 From: zleyyij Date: Sun, 23 Jul 2023 08:30:03 -0600 Subject: [PATCH] vault backup: 2023-07-23 08:30:03 --- Setting up a Minecraft server.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Setting up a Minecraft server.md b/Setting up a Minecraft server.md index d3b8c2c..646bf2b 100644 --- a/Setting up a Minecraft server.md +++ b/Setting up a Minecraft server.md @@ -4,7 +4,9 @@ At minimum, a minecraft server requires Java, the [minecraft server jar](https://www.minecraft.net/en-us/download/server) or an alternative server (spigot, lithium), and the ability to port forward and allow programs through your firewall. # Installing Java -As of 2023-07, Minecraft requires Java 17 to run version 1.20.1. You may need to look for a later version. Don't install the default version of Java in the repos of your chosen distro, it's very often out of date, and probably won't work with minecraft. You're going to look for any package that contains the JRE (Java Runtime Environment) or JDK (Java Development Kit). Both contain the Java Virtual Machine (JVM) and the ability to run Java programs. I like AdoptOpenJDK, but distribution of Java that fits the version requirements will work sufficient +As of 2023-07, Minecraft requires Java 17 to run version 1.20.1. You may need to look for a later version. Don't install the default version of Java in the repos of your chosen distro, it's very often out of date, and probably won't work with minecraft. You're going to look for any package that contains the JRE (Java Runtime Environment) or JDK (Java Development Kit). Both contain the Java Virtual Machine (JVM) and the ability to run Java programs. I like AdoptOpenJDK, but any distribution of Java that fits the version requirements will work sufficiently. + +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`. This enables minecraft to run in the background, restart if it crashes, etc etc.