Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 serverfault.com Jan 12 '10 at 12:20

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

2 Answers 2

up vote 1 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:

about:plugins

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

protected by Diago Nov 23 '10 at 12:10

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

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

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