install oracle java-8 jdk-8ubuntu using ppa

install oracle java-8 jdk-8ubuntu using ppa

install oracle java-8 jdk-8ubuntu using ppa

Install Oracle JAVA 8 (JDK/JRE ) on Ubuntu and LinuxMint systems using PPA File. To Install Java 8 in RHEL/CentOS and Fedora

 

Oracle JAVA 8 Stable release has been released on Mar,18 2014 and available to download and install on official download page. Oracle Java PPA for Ubuntu and LinuxMint is being maintained by Webupd8 Team. JAVA 8 is released with many of new features and security updates, read more about

Installing Java 8 on Ubuntu

Add the webupd8team Java PPA repository in your system and install Oracle Java 8 using following set of commands.
$ sudo add-apt-repository ppa:webupd8team/java

$ sudo apt-get update

$ sudo apt-get install oracle-java8-ins>taller
Verify Installed Java Version
After successfully installing oracle Java using above step verify installed version using following command.
vikas@knowledgelinux:~$ java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
Configuring Java Environment
In Webupd8 ppa repository also providing a package to set environment variables, Install this package using following command.
$ sudo apt-get install oracle-java8-set-default