Score:0

How to install Java 18 (JRE) on Ubuntu LTS 20.04

za flag

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?

za flag
Oops. It needs Java 17, not Java 18. And, I learned from a similar question posted here that installing Java 17 is simply `sudo apt install openjdk-17-jre`
Kulfy avatar
mz flag
Anyway, Java 18 would be released in March 2022. So you need to wait till March :)
cocomac avatar
cn flag
See my answer to [this question](https://askubuntu.com/questions/1379110/problems-updating-java-on-ubuntu-20-04-for-minecraft-1-18)
Score:3
sa flag

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
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.