How to Install Oracle Java 8 on Ubuntu ?

If you want to install the Oracle JDK, which is the official version distributed by Oracle, you will need to follow below steps.

1)  First, add Oracle's PPA, then update your package repository.

             
  • sudo add-apt-repository ppa:webupd8team/java
  • sudo apt-get update


2) Then, depending on the version you want to install, execute one of the following       commands

      [A]  To install JDK 9, use the following command:

            sudo apt-get install oracle-java9-installer

      [B]   To install JDK 8, use the following command:

            sudo apt-get install oracle-java8-installer

      [C]   To install JDK 7, use the following command:

            sudo apt-get install oracle-java7-installer

      [D]   To install JDK 6, use the following command:

             sudo apt-get install oracle-java6-installer

3) For detail information click here



Comments

Popular posts from this blog

How to Install AnyDesk remote desktop client on Ubuntu

How to install Jaspersoft Studio on Eclipse

What is Advanced Encryption Standard (AEC) and online tool to encrypt and decrypt data using AEC.