How to Install JAVA 8 (JDK 8u101) on Ubuntu via PPA -- Words (260)

This post shows you how you can install Java 8 on Ubuntu OS via PPA

The stable version of Java 8 (1.8) has been released on 18 2014.You can download it from the official website.Java 8 has new features(like lambdas and functional programming) and security updates ,you can get more information of what's new in Java 8.

If you are under Ubuntu system and you prefer the command line interface to do things you can install Java 8 using the Webupd8 Team PPA

Installing Java 8 on Ubuntu (16,15,14,12.04 LTS,10.04)

So go ahead and start your terminal then begin by adding the PPP we have mentionned before

    $ sudo add-apt-repository ppa:webupd8team/java

Next you need to update your apt-get cache

    $ sudo apt-get update

Then you are ready to install the Java 8 installer

    $ sudo apt-get install oracle-java8-installer

After downlaoding Java 8 a wizard installer will be presented to you just follow the steps and you'll have Java 8 installed for you.

To verify your installed version of Java type

$ java -version 

You should get something like that

java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 32-Bit Server VM (build 25.101-b13, mixed mode)    

So we have seen how you can install Java 8 on your Ubuntu system using a PPA ,thanks for reading and see you in another post.


I'm a web developer and technical writer. Passionate about modern JavaScript technologies and currently trying to develop all kind of apps (Web, Mobile and Desktop) with JavaScript.