Install Oracle Java 8 (JDK & JRE) in Ubuntu 12.04
Here’s a quick update. The next version of Oracle Java will be released next year (2013), but you don’t have to wait to install it.
This brief tutorial is going to show you how to install both Oracle JDK8 and JRE8 in Ubuntu 12.04 (Precise Pangolin) via PPA provided by Webupd8. This is a pre-release version and should only be used for testing purposes, and might include bugs and other problems.
This PPA supports Ubuntu 12.10, 12.04, 11.10, 11.04, 10.10 and 10.04.
- Install Oracle Java 8 in Ubuntu 12.04
To get started, press Ctrl – Alt – T on your keyboard to open the terminal. When it opens, run the commands below to add the required PPA.
sudo add-apt-repository ppa:webupd8team/java
Finally, run the commands below to update your system and install Java.
sudo apt-get update && sudo apt-get install oracle-java8-installer
To verify if Java is installed, run the commands below.