You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've made an attempt to utilize only features that are normally installed in most Linux and UNIX environments in this script. However, there may be a few requirements that this script has that may not already be in place:
22
22
23
-
- Java JRE - The Minecraft server software requires this. **As of Minecraft version 1.20.5, Java 21 is required as the minimum java version.**<br>
24
-
- Perl - Most, if not all, Unix and Linux like systems have this preinstalled.<br>
25
-
- libjson-perl - Allows the script to read JSON formatted data.<br>
26
-
- libwww-perl - Allows the script to download data to verify downloads.<br>
27
-
- liblwp-protocol-https-perl - Allows the script to download data over HTTPS.<br>
28
-
- util-linux - Allows the script to use the `flock` script which ships with it for crash detection. Standard package with linux.<br>
29
-
- Python - Required by the Minecraft Overviewer mapping software.<br>
30
-
- GNU Make - Allows you to use the Makefile to simplify installation.<br>
31
-
- GNU Wget - Allows the script to download software updates via the internet.<br>
32
-
- rdiff-backup - Allows the script to efficiently run backups.<br>
33
-
- rsync - Allows the script to efficiently make copies of files.<br>
34
-
- Socat - Allows the script to communicate with the Minecraft server.<br>
35
-
- Iptables - Although not explicitly required, a good firewall should be installed.<br>
36
-
- Sudo - Run processes under other user and groups <br>
23
+
- Java JRE - The Minecraft server software requires this.
24
+
25
+
{: .warning }
26
+
> As of Minecraft version 1.20.5, Java 21 is required as the minimum java version.
27
+
28
+
- Perl - Most, if not all, Unix and Linux like systems have this preinstalled.
29
+
- libjson-perl - Allows the script to read JSON formatted data.
30
+
- libwww-perl - Allows the script to download data to verify downloads.
31
+
- liblwp-protocol-https-perl - Allows the script to download data over HTTPS.
32
+
- util-linux - Allows the script to use the `flock` script which ships with it for crash detection. Standard package with linux.
33
+
- Python - Required by the Minecraft Overviewer mapping software.
34
+
- GNU Make - Allows you to use the Makefile to simplify installation.
35
+
- GNU Wget - Allows the script to download software updates via the internet.
36
+
- rdiff-backup - Allows the script to efficiently run backups.
37
+
- rsync - Allows the script to efficiently make copies of files.
38
+
- Socat - Allows the script to communicate with the Minecraft server.
39
+
- Iptables - Although not explicitly required, a good firewall should be installed.
40
+
- Sudo - Run processes under other user and groups
37
41
38
42
### Debian or Ubuntu
39
43
If you are running Debian or Ubuntu, you can make sure that the dependencies are installed by running the following command:
@@ -42,7 +46,17 @@ If you are running Debian or Ubuntu, you can make sure that the dependencies are
**Note**: the version of Java that is shipped in the `default-jre` package, which is the official Debian / Ubuntu Java package, varies based on which version of Debian or Ubuntu you have installed on your system. In some cases (depending on what OS you're running), the version of Java that is shipped with the `default-jre` package is less than Java 21, which is required for Minecraft 1.20.5+. You can test to see if the version of Debian or Ubuntu you have has an official Java 21 package repo by trying: `sudo apt-get install openjdk-21-jre`. If this fails, and you want to play Minecraft versions 1.20.5+, you will either have to download Java 21 manually or add it from an unofficial, third party package repository. Java is backwards compatible, that means that you can use Java 21 for Minecraft 1.8 even if Mojang doesn't state that it is compatible with Java 21
49
+
{: .note }
50
+
> In Debian 12 and Ubuntu 22.04 (jammy), the package `default-jre` is using a version less than Java 21.
51
+
> You can verify the version provided on your OS using either `sudo apt policy default-jre` (list which version `default-jre` is linked to)
52
+
> or `sudo apt list openjdk-*-jre*` (list all JRE available in the configured repositories).
53
+
>
54
+
> If Java 21 is not available and you still want to play Minecraft versions 1.20.5+, you may install the latest version
55
+
> from [OpenJDK](https://jdk.java.net/) or [Oracle](https://www.oracle.com/javadownload).
56
+
57
+
{: .warning }
58
+
> Depending on your OS the `python` package may not exist, in which case you will need to use both `python3` (to install the binaries)
59
+
> and `python-is-python3` (to provide an alias of `python` to `python3`).
46
60
47
61
### Fedora, Redhat, or CentOS
48
62
If you are running Fedora, Redhat, or CentOS, you can make sure that the dependencies are installed by running the following command:
0 commit comments