Skip to content

Commit f985992

Browse files
authored
Merge pull request #17 from sharky98/main
Improve warning and visibility of Java version and add python3 warning
2 parents 9ebd2fd + 04dc954 commit f985992

File tree

2 files changed

+47
-16
lines changed

2 files changed

+47
-16
lines changed

_config.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# 'jekyll serve'. If you change this file, please restart the server process.
1010

1111
# Set to Just the Docs theme
12-
remote_theme: pmarsceill/just-the-docs
12+
remote_theme: just-the-docs/just-the-docs
1313

1414
# Site settings
1515
# These are used to personalize your new site. If you look in the HTML files,
@@ -47,6 +47,23 @@ footer_content: "MSCS is copyright &copy; 2011-2020 Jason M. Wood | <a href=\"ht
4747
# Color scheme currently only supports "dark" or nil (default)
4848
color_scheme: nil
4949

50+
callouts_level: quiet # or loud
51+
callouts:
52+
highlight:
53+
color: yellow
54+
important:
55+
title: Important
56+
color: blue
57+
new:
58+
title: New
59+
color: green
60+
note:
61+
title: Note
62+
color: purple
63+
warning:
64+
title: Warning
65+
color: red
66+
5067
# Google Analytics Tracking (optional)
5168
# e.g, UA-1234567-89
5269
#ga_tracking: UA-2709176-10

docs/mscs/installation.md

Lines changed: 29 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,24 @@ permalink: /docs/mscs/installation
2020

2121
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:
2222

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
3741

3842
### Debian or Ubuntu
3943
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
4246
sudo apt-get install default-jre perl libjson-perl libwww-perl liblwp-protocol-https-perl util-linux python make wget git rdiff-backup rsync socat iptables
4347
```
4448

45-
**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`).
4660
4761
### Fedora, Redhat, or CentOS
4862
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

Comments
 (0)