Latest Posts

Install OpenJDK :: RHEL based systems

Let's configure your Debian based OS to use the OpenJDK 8.


  • On Linux terminal install Install the OpenJDK 8
sudo yum install java-1.8.0-openjdk
  • Use the following command - If you have more than one Java versions installed on your system to switch version
sudo alternatives --config java

  • Verify if the correct JDK version is configured.

java -version

openjdk version "1.8.0_71"
OpenJDK Runtime Environment (build 1.8.0_71-b15)
OpenJDK 64-Bit Server VM (build 25.71-b15, mixed mode)

No comments:

Post a Comment