Thursday, 15 September 2016

How to install JAVA-1.8 in ubuntu



















1. Install ORACLE JAVA-1.8 using below commands

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

2. Verify ORACLE JAVA-1.8 using below command

java -version


3. Install OPENJDK JAVA-1.8 using below commands

sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk


4. Verify OPENJDK JAVA-1.8 using below command

java -version





Share this article with your friends.

No comments :

Post a Comment

Related Posts Plugin for WordPress, Blogger...