How to install Oracle Java 8 on Xubuntu 16.04

How to install Oracle Java 8 on Xubuntu 16.04

Most people i know (developers) they always suggesting me to install oracle java (oracle JDK) rather than open java (open JDK). They said it's more stable and performs better, i kinda agree with them. In this article i will show you how to install oracle java 8 on xubuntu 16.04.

Step by step how to install oracle java 8 on xubuntu 16.04
  • open command line on xubuntu (press CTRL + ALT + T)
  • add ppa repository for oracle java
  • sudo apt-add-repository ppa:webupd8team/java
  • run update command
  • sudo apt-get update
  • install oracle java 8 installer
  • sudo apt-get install oracle-java8-installer
  • export oracle java path to java_home variable
  • export JAVA_HOME=/usr/lib/jvm/java-8-oracle
  • check your oracle java by running this command
  • java -version
How to install Oracle Java 8 on Xubuntu 16.04

How to install Oracle Java 8 on Xubuntu 16.04

Share this

Related Posts

Previous
Next Post »