6

In Firefox 17 on UbuntuĀ 12.04 (Precise Pangolin), I cannot get the Java verification applet to work (needless to say, I cannot get any Java applications on the browser working).

I already tried uninstalling and re-installing the AFAIK necessary components (screenshot 1, screenshot 2) (before, I had Java 6 AND 7 installed. I already tried leaving only Java 7, and now I am back to leaving only Java 6), but I cannot get it to work.

How do I get JRE up and running in Firefox?

UPDATE: I had so much trouble with Java in Firefox quitting working after upgrades, etc. that I gave up on Firefox entirely (my main purpose of using this Ubuntu machine is to safely run Java applications away from my main computer). I now run Opera and never had any problems again - it comes with Java, and it just works.

Gaia
  • 977

2 Answers2

6

It appears that the Java verification applet doesn't work with the implementation of Java that Ubuntu uses (OpenJDK), but other applets should work if you install the Java web plugin, which is a plugin that lets Java applets run in a web browser.

According to the community documentation for Java,

Browser plugin

  1. Install the icedtea6-plugin package using any installation method.
  2. Install the icedtea-7-plugin package using any installation method.

If you are using or want to use the default version of Java included with Ubuntu, just run

sudo apt-get install icedtea-plugin

If you want to use a specific version, just use the packages listed above.

iBelieve
  • 5,434
4

You need the browser plugin for Java to work in Firefox.

sudo apt-get install icedtea-plugin

Then sudo update-alternatives --config java

Check which version is activated: java -version

Install the icedtea-web plugin if not yet installed: sudo apt-get install icedtea-web

To Do
  • 15,833