Java
Last updated
Was this helpful?
Some game servers require using Java Runtime Environment (JRE) such as Minecraft and Project Zomboid.
If you are unsure which version to choose simply pick the default JRE.
To install the most up to date JRE for the distro run:
apt install default-jreFor openjdk, run the following changing the version number:
apt install openjdk-8-jreapt install openjdk-11-jreapt install openjdk-16-jreapt install openjdk-17-jreRun the following command, changing the version number:
JRE Availability Table Different Distros have different versions of Java. This page will outline the different versions that are available.
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
Last updated
Was this helpful?
Was this helpful?
yum install java-1.8.0-openjdkyum install java-11-openjdk
