Installing
-
2. Enabling OpenJDK 16 PPA
Add OpenJDK 16 PPA for Ubuntu GNU/Linux
-
3. Installing OpenJDK 16
Then to Install OpenJDK 16 in Ubuntu
First, to look up all the available flavors play:sudo apt search openjdk-15
So next for OpenJDK JDK 16 issue:
sudo apt install openjdk-15-jdk
Where for the Java Runtime instead:
sudo apt install openjdk-15-jre
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo
Now to Check the current Java:java -version
And in output you find it:
Finally, to check for available Java releases:
sudo apt search openjdk | grep jdk
Contents