26 October 2012

How to install Java 7 in Ubuntu 12.04/12.10

1 comment

how to install java in oneiric ocelot
Java is a object-oriented language developed by Sun Microsystems in the early 1990. Java is a general-purpose, concurrent, class-based, object-oriented language that is specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere" (WORA), meaning that code that runs on one platform does not need to be recompiled to run on another. Java is currently one of the most popular programming languages in use, particularly for client-server web applications, with a reported 10 million users.

To install java in Ubuntu 12.04/12.10, open terminal (Ctrl + Alt + t) and write the following commands

Step 1. Add a WEBUPD8 repository

$ sudo add-apt-repository ppa:webupd8team/java

Step 2. Update the repository

$ sudo apt-get update

Step 3. Install Oracle java

$ sudo apt-get install oracle-java7-installer

Note: To uninstall java type following command

$ sudo apt-get remove oracle-java7-installer

That's it.
Enjoy :)

If You Liked This Post Please Take a Time To Share This Post

You May Also Like...

1 comment:

  1. Thanks for the post, I am techno savvy. I believe you hit the nail right on the head. I am highly impressed with your blog. It is very nicely explained. Your article adds best knowledge to our Java EE Training in Chennai. or learn thru Java EE Training in Chennai Students.