Installing Java 8 on Ubuntu 14.04

To install Oracle Java 8 on Ubuntu 14.04. Go to terminal and give following commands.

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

This will first fetch a web installer which is around 160KB. There after actual java (jdk-8uX-linux-i586.tar.gz), which is around 160MB, will be downloaded and installed.

To check, give following command. This command will output the version of java installed.

java -version

Ref: http://stackoverflow.com/questions/16263556/installing-java-7-on-ubuntu

0

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>