How to install Java 18 (JRE) on Ubuntu LTS 20.04 [duplicate]
My kid really wants me to upgrade the minecraft server I run from 1.17.1 to 1.18, but when I tried, I found that it required Java 18. It looks like Java 18 is only available on the latest release of Ubuntu, but I want to stick with the LTS releases. Is there a backport available for Java 18?
Solution 1:
Since Java Edition 1.17(21w19a), Minecraft requires Java 16 or newer. In Ubuntu 20.04 you can meet this requirement by installing openjdk-17-jre as follows:
sudo apt update
sudo apt install openjdk-17-jre