Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
How do I install Java?

I was surfing this site and it said I need Java installed. When I searched a bit, I found three Java type(?). Open jdk, sun Java and Oracle. I want to know the difference among them. I need Java for surfing the Internet only, the type of sites that require Java. I tried to install Sun Java but couldn't. Which Should I install & how? If it's Sun Java could you please suggest another method to install? I'm running Ubuntu 12.04 64-bit.

share|improve this question

marked as duplicate by Jorge Castro, Mik, Mitch, maythux, devav2 Oct 11 '12 at 5:56

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers 2

Install the icedtea plugin.

sudo apt-get install icedtea-7-plugin

Differences? Not enough to worry about.

share|improve this answer

The easiest method to install Oracle Java 7 via PPA:

  1. sudo add-apt-repository ppa:webupd8team/java
  2. sudo apt-get update
  3. sudo apt-get install oracle-java7-installer

http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html


See also:

How do I install Java?

How do I install Oracle Java JDK 7?

How do I install Oracle JDK 6?

share|improve this answer
    
can I install open jdk 6 along with Oracle Java 7? –  BRKsays May 8 '12 at 5:03

Not the answer you're looking for? Browse other questions tagged or ask your own question.