LinuxGSM
Docs
Dev Docs
Search…
Home
Getting Started
Configuration
Commands
Game Servers
Alerts
Dependencies
Java
tmux
jq
gamedig
glibc
Features
SteamCMD
Linux
Troubleshooting
FAQ
Guides
Other
Powered By
GitBook
Java
Some game servers require using Java Runtime Environment (JRE) such as Minecraft and Project Zomboid.
Installation of Java Runtime Environment
If you are unsure which version to choose simply pick the default JRE.
Debian/Ubuntu
JRE
To install the most up to date JRE for the distro run:
1
apt install default-jre
Copied!
OpenJRE
For
openjdk
, run the following changing the version number:
1
apt install openjdk-8-jre
Copied!
1
apt install openjdk-11-jre
Copied!
1
apt install openjdk-16-jre
Copied!
1
apt install openjdk-17-jre
Copied!
CentOS
Run the following command, changing the version number:
1
yum install java-1.8.0-openjdk
Copied!
1
yum install java-11-openjdk
Copied!
JRE Availability Table
JRE Availability Table Different Distros have different versions of Java. This page will outline the different versions that are available.
Distro
JRE 6
JRE 7
JRE 8
JRE 11
JRE 13
JRE 16
JRE 17
CentOS 7
YES
YES
YES
YES
NO
NO
NO
CentOS 8
NO
NO
YES
YES
NO
NO
NO
Debian 9 "Stretch"
NO
NO
YES
YES (backport)
NO
NO
NO
Debian 10 "Buster"
NO
NO
NO
YES
NO
NO
NO
Debian 11 "Bullseye"
NO
NO
NO
YES
NO
NO
YES
Ubuntu 16.04 LTS
NO
NO
YES
NO
NO
NO
NO
Ubuntu 18.04 LTS
NO
NO
YES
YES
NO
NO
NO
Ubuntu 20.04 LTS
NO
NO
YES
YES
YES
YES
YES
​
Distrowatch
also contains details of JRE versions.
Further Reading
https://help.ubuntu.com/community/Java
​
Previous
Dependencies
Next
tmux
Last modified
5mo ago
Export as PDF
Copy link
Contents
Installation of Java Runtime Environment
Debian/Ubuntu
CentOS
JRE Availability Table