Install Oracle Java 8
Ubuntu has OpenJDK installed by default, but in certain cases you might need to install Oracle Java instead. It is possible to install Oracle Java manually, however the process is a bit lengthy and requires a lot of steps.
Oracle Java can be downloaded from the official website over here -
https://www.oracle.com/downloads/
However in this post we shall be installing Oracle Java using a ppa package maintained by the WebUp8 team. The package downloads the latest oracle java builds in the background and then installs and configures it.
https://launchpad.net/~webupd8team/+archive/ubuntu/java
First check your existing java installation with the java command -
$ java -version
java version "1.7.0_95"
OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-0ubuntu0.15.10.1)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
In the above example OpenJDK is installed already, and is going to be replaced with Oracle Java.
The following steps should work on Ubuntu 15.10 or Linux Mint 17 and other similar Ubuntu based linux distros.
1. Setup the PPA
This first thing to do is to setup the webupd8 ppa on your system. Run the following command and proceed.
$ sudo apt-add-repository ppa:webupd8team/java
$ sudo apt-get update
After setting up the ppa repository, update the package cache as well.
2. Install the Java 8 installer
Now install the package named "oracle-java8-installer". This installer is...
Read full post here
How to install Oracle Java 8 on Ubuntu 16.04/Linux Mint 17 (PPA Method)
Ubuntu has OpenJDK installed by default, but in certain cases you might need to install Oracle Java instead. It is possible to install Oracle Java manually, however the process is a bit lengthy and requires a lot of steps.
Oracle Java can be downloaded from the official website over here -
https://www.oracle.com/downloads/
However in this post we shall be installing Oracle Java using a ppa package maintained by the WebUp8 team. The package downloads the latest oracle java builds in the background and then installs and configures it.
https://launchpad.net/~webupd8team/+archive/ubuntu/java
First check your existing java installation with the java command -
$ java -version
java version "1.7.0_95"
OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-0ubuntu0.15.10.1)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
In the above example OpenJDK is installed already, and is going to be replaced with Oracle Java.
The following steps should work on Ubuntu 15.10 or Linux Mint 17 and other similar Ubuntu based linux distros.
1. Setup the PPA
This first thing to do is to setup the webupd8 ppa on your system. Run the following command and proceed.
$ sudo apt-add-repository ppa:webupd8team/java
$ sudo apt-get update
After setting up the ppa repository, update the package cache as well.
2. Install the Java 8 installer
Now install the package named "oracle-java8-installer". This installer is...
Read full post here
How to install Oracle Java 8 on Ubuntu 16.04/Linux Mint 17 (PPA Method)