Install the Java System Centos 8

The following guide describes the installation of Java in several versions : Oracle Java 8, OpenJDK 8, OpenJDK 11
On a server running Centos 8.
The reaction comes to execute several commands.

For a start we will search repo.
The reaction execute command:

You will get something like this:

Install OpenJDK 11

We check the Java version of the command:

the result of the:

Install OpenJDK 8

check the version:

Score:

To switch between versions of a Java execute command:

I choose the appropriate version number:

Installing Oracle Java 8

Well, check the standard version:

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.