728x90 AdSpace

Sunday, 1 January 2017

How to install Oracle Java on Ubuntu


There are two kinds of java, oracle java JDK and open JDK, you can install both on ubuntu, but only one will be active JDK at one time. This article is about installing oracle java development kit (JDK) on ubuntu.

Step by step how to install Oracle JDK on Ubuntu
  • add PPA repo for oracle JDK
  • sudo apt-add-repository ppa:webupd8team/java
  • run update command
  • sudo apt-get update
  • install the JDK itself
  • sudo apt-get install oracle-java8-installer
  • add java home variable
  • export JAVA_HOME=/usr/lib/jvm/java-8-oracle
That's it now you have java installed on your ubuntu, you are ready to do anything! sky is the limit.
If You Like This Please Leave a Comment Or Share this Post

Full Softwares Android Apps
  • Blogger Comments
  • Facebook Comments

0 comments:

Post a Comment

Item Reviewed: How to install Oracle Java on Ubuntu Rating: 5 Reviewed By: Unknown