3

Possible Duplicate:
How can I install Oracle Java JRE 7?

I have Ubuntu 10.10. I needed the Sun Java so I added Sun Oracle as supplier of packages and installed java-6. However, I haven't been able to persuade Firefox to use this Java for the browser.

In fact I managed to turn off the original Java plugin (I can't remember exactly how) and I can't see any way to re-enable it. Ie. it doesn't appear in the "plugins" page of the Add-ons option. (I'm in Firefox 3.6.13)

Any suggestions for how to re-enable Java in FF 3.6, and make sure it's using the Sun version?

thanks

phil

interstar
  • 253

2 Answers2

4

You may be missing the package sun-java6-plugin since it is not a dependency of sun-java6-jre. Try installing it via:

sudo apt-get install sun-java6-plugin

Then, restart Firefox and check for the plugin in Tools ▸ Add-ons ▸ Plugins or by typing about:plugins into the address bar.

ændrük
  • 78,496
3

I ran into the same problem a while back

  • Open a Terminal window

  • Run sudo update-java-alternatives -l to see the current configuration and possibilities.

  • Run sudo update-java-alternatives -s XXXX to set the XXX java version as default. (For Sun Java 6 this would be sudo update-java-alternatives -s java-6-sun)

  • Run java -version to ensure that the correct version is being called.

Here is where i found my answer

Jorge Castro
  • 73,717
bacon
  • 158