Installing Oracle Java 16 and Ubuntu 20.04, 18.04, 20.10

The following guide describes how to install Oracle Java 16 on Ubuntu systems 20.04, 18.04, 20.10
We will do everything in a few simple steps.

We start the terminal and add the repository to the system:

The next step is to update the packages and install:

After executing the command

We should see our new java version

If we would like to install Java version 16 but not to set it as the default, we can use instead of the previous command:

How useful this post was?

Click on the star, to evaluate it!

Average grade / 5. number of votes:

So far, no votes! Be the first to rate this post.