How to Install JAVA 8 on Ubuntu 15.04 Linux

How to install java 8 on ubuntu 15.04Today, we are going to learn How to install JAVA 8 on Ubuntu 15.04 I am really thankful for Webupd8 Team for providing the installer script to install the java. So follow the below steps to how to install JAVA 1.8 on Ubuntu 15.04

Java 8 is the latest release for Java that contains new features, enhancements and bug fixes to improve efficiency to develop and run Java programs. Java 8 is a revolutionary release of the world’s #1 development platform. It includes a huge upgrade to the Java programming model and a coordinated evolution of the JVM, Java language, and libraries.

Note : Oracle JAVA 8 Stable release has been released on Mar,18 2014
Note : Ubuntu 15.04 Stable release has been released on April,23 2015

Open the Putty and login Ubuntu 15.04 Linux Server

Login ubuntu 15.04 linux server

Installing Java 8 on Ubuntu 15.04

To Add the webupd8team Java PPA repository in your system and install Oracle Java 8 using following set of commands.

install the Webupd8 Team repository

Confirm the installation of java 8

Press enter to continue

Webupd8 Team repository installation

Update the ubuntu packages

installation of java 1.8

Please enter “Y” to continue installation

Accept the java license for install the java

How to install java 8 on ubuntu 15.04

Verify Installed Java Version

Now, Java 8 has been installed successfully. Now, I need to verify the version of java using following command.

Verify the Java version using command

Configuring Java Environment

If you have two or more Java versions installed on your system then you need to configure the java environment.Webupd8 ppa repository also providing a package to set environment variables, run command below to set Oracle Java to default.

Configuring Java Environment

Bookmark the permalink.

Comments are closed.