Install Oracle Java 7 for Ubuntu 12.04 LTS

Oracle JDK is no longer included by default in Ubuntu’s repositories due to licensing. OpenJDK is default now but many apps still don’t play nice with it. This is why I installed Oracle JDK.

I’ll walk you through the process of installing Oracle JDK 7 on Ubuntu 12.04 LTS Precise Pangolin, the easy way. For this we will use the “install oracle-java7-installer” package from “WEBUPD8″.

The “install oracle-java7-installer” package from “WEBUPD8″ will download the official binaries from Oracle and install the JAVA 7 JDK, JRE and browser plugins on your machine.

1. Add the “WEBUPD8″ PPA.

sudo add-apt-repository ppa:webupd8team/java

2. Update your repositories.

sudo apt-get update

3. Install JAVA 7 JDK.

sudo apt-get install oracle-java7-installer

To uninstall,

sudo apt-get remove oracle-java7-installer

For Test whether java running or not click here

(Visited 31 times, 1 visits today)

Leave a comment

Your email address will not be published. Required fields are marked *