Skip to content

Commit 43ea1dd

Browse files
authored
update note on java 17 version requirement
1 parent 18c7060 commit 43ea1dd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/mscs/installation.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ sudo apt-get install default-jre perl libjson-perl libwww-perl liblwp-protocol-h
4848
If you are running Fedora, Redhat, or CentOS, you can make sure that the dependencies are installed by running the following command:
4949

5050
```bash
51-
sudo dnf install java-1.8.0-openjdk perl perl-JSON perl-libwww-perl perl-LWP-Protocol-https util-linux python3 make wget git rdiff-backup rsync socat iptables sudo procps which
51+
sudo dnf install java-17-openjdk perl perl-JSON perl-libwww-perl perl-LWP-Protocol-https util-linux python3 make wget git rdiff-backup rsync socat iptables sudo procps which
5252
```
53-
**Note:** the `java-1.8.0-openjdk` package is the official Fedora / Redhat / Centos package that provides Java 8, which is only supported for Minecraft versions up to Minecraft 1.16. As of July 2021, there is no official Fedora / Redhat / CentOS Java 16 package. Thus, if you want to run Minecraft 1.17+, you will either have to download Java 16 manually or add it from an unofficial, third party package repository.
53+
**Note:** Minecraft 1.18+ requires Java 17 or higher.
54+
5455
**Additional Note:** if you are running Redhat Enterprise Linux, you must install and enable the EPEL repository in order to install some of the required packages. You can do so with the following commands (assuming you are running RHEL 8):
5556
```bash
5657
sudo subscription-manager repos --enable codeready-builder-for-rhel-8-$(arch)-rpms

0 commit comments

Comments
 (0)