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.