###Install Java JDK 7 on Ubuntu
This package provides Oracle Java JDK 7 (which includes JRE, the Java browser plugin and JavaFX). However, you can’t only install Oracle JRE – the PPA only provides the full Oracle JDK7 package.
- To add our PPA and install the latest Oracle Java (JDK) 7 in Ubuntu, use the commands below:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update && sudo apt-get install oracle-jdk7-installer
- After the installation you have enable the jdk: