≡ Menu

How to Install Oracle Java 7 on Ubuntu 12.04 LTS

Here is how to Install Oracle Java 7 on Ubuntu 12.04 LTS or LinuxMint by typing the following command lines in the terminal

sudo apt-get purge openjdk*
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

Java 7 installation process only waiting until the end. After completion of the java 7 installation, to test that your browser supports Java, you can visit http://www.java.com/en/download/testjava.jsp

Oracle Java 7 on Ubuntu 12.04 LTS

To check through the terminal console:

[email protected]:~$ java -version
java version “1.7.0_05”
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) Server VM (build 23.1-b03, mixed mode)

{ 0 comments… add one }

Leave a Comment

*