Java plugin does not work after firefox upgrade to 3.6.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox-3.0 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: firefox-3.0
This bug appears as a branch of bug 600158, where I was told to separate Flash and Java issues. This new bug is related to Java plugin. After upgrading firefox from 3.0.19 to 3.6.6, the java plugin does not work any more. The simlinks in /etc/alternatives point correctly to file libnpjp2.so as indicated in bug 600642 and the plugin shows up in about:plugins, so it seems to be correctly installed and the subject of this bug is then different of 600642.
After trying to load any page containing a java applet, the applet does not work. For example at www.java.com, if I click in "Do I have Java?" and then "Verify Java Version", the java console opens with this series of errors:
java.lang.
at sun.awt.
at sun.plugin2.
at sun.awt.
at sun.awt.
at sun.plugin2.
at sun.plugin2.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
PluginMain: could not create embedded frame
The applet tries it three times before giving up and does not display the expected information.
I am using hardy
firefox is 3.6.6+nobinonly
sun-java6-plugin is 6.20dlj-
This plugin worked fine before firefox update.
Searching the web, I think I have found a workaround. If firefox is started from the console as:
AWT_TOOLKIT= "MToolKit" firefox
looks like java aplets do work.
I have no idea of what is "MToolKit" or "XToolkit" but the environment variable seems to instruct java to use "MToolKit" instead of "XToolKit".
I suppose that the variable can be set permanently in the startup scripts.