jinfo plugin alternative should be mozilla-javaplugin.so instead of -javaplugin.so
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-6 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
openjdk-7 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The openjdk-6-jdk package creates /usr/lib/
The last line of this file defines the alternative for the Firefox java plugin
plugin -javaplugin.so /usr/lib/
Running update-
# sudo update-
update-
This happens because there is no /etc/-javaplugin.so alternative defined. The correct alternative is /etc/mozilla-
If you add "mozilla" to "-javaplugin.so" in /usr/lib/
plugin mozilla-
Please add "mozilla" to that line when the openjdk-6-jdk package installer generates /usr/lib/
Please also check openjdk-7-jdk for the same issue. I am running 11.10, so icedtea7-plugin is not available for me to check if the same issue occurs with openjdk-7-jdk. Someone should check it in 12.04, where I understand icedtea7-plugin is working.
Thanks for the good work on the openjdk packages.
I just confirmed on a fresh 11.10 VM that this also affects openjdk-7-jdk.
With a fresh 11.10 installation, sudo apt-get install openjdk-7-jdk resulted in /usr/lib/ jvm/.java- 1.7.0-openjdk- amd64.jinfo with the following final line:
plugin -javaplugin.so /usr/lib/ jvm/java- 7-openjdk- amd64/jre/ lib/amd64/ IcedTeaPlugin. so
Even though icedtea7-plugin isn't working in 11.10, when it does work, this line will need to read "mozilla- javaplugin. so" instead of "-javaplugin.so":
plugin mozilla- javaplugin. so /usr/lib/ jvm/java- 7-openjdk- amd64/jre/ lib/amd64/ IcedTeaPlugin. so