Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

Having trouble getting Java to work with Firefox (version 22), I have followed the advice in this question and on the official Java site, but nothing seems to work.

I have the latest Java (1.7.0_25) in /opt/java and have set a symlink in /usr/libs/mozilla/plugins for the file. I can see the file in the terminal and Java runs fine. However, Firefox shows nothing in about:plugins. I have also run

export JAVA_HOME="/opt/java/jre1.7.0_05/bin/java"

to be on the safe side. I know there are multiple plugin directories such as /usr/lib/firefox/plugins and /usr/lib/firefox-addons/plugins, but all my current plugins show they are located in /usr/lib/mozilla/plugins when viewing the about:plugins page.

Where do I go next?

share|improve this question

I recommend you not to use a manual installation. In this case you have to manually update Java as well. There is a nice workaround with a automatic update function:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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