Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried installing JRE on Ubuntu, but when I go online and check the site it still says that the latest JRE is not installed.

Is there shortest automatic way to install JRE in Ubuntu so that it works with Firefox?

The other thing is, which directory should I install it in?

share|improve this question

migrated from Jan 12 '10 at 12:20

This question came from our site for system and network administrators.

up vote 0 down vote accepted

UbuntuGeek: How to Install Java Runtime Environment (JRE) in Ubuntu 9.04 (Jaunty)

share|improve this answer
I tried that but stll site says that JRE is not installed – Mirror51 Jan 12 '10 at 3:52

First of all, you shouldn't be worrying about to which directory JRE is going to be installed, this is something that a package manager tool (like apt-get) will take care of.

To install Java and verify results, follow these steps:

a) Open terminal

b) Use apt-get to install required packages by typing:

sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts

c) To verify that Java has really installed, try typing:

java -version

d) If this is OK, then try testing if the Firefox plugin is installed and running, by typing the following URL to the address bar:


You should find references to Java there.

When you've figure out which step did not work, it is much easier to troubleshoot!

share|improve this answer

You must log in to answer this question.

protected by BinaryMisfit Nov 23 '10 at 12:10

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .