openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #07765
[Bug 966212] Re: jinfo plugin alternative should be mozilla-javaplugin.so instead of -javaplugin.so
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
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/966212
Title:
jinfo plugin alternative should be mozilla-javaplugin.so instead of
-javaplugin.so
Status in “openjdk-6” package in Ubuntu:
New
Bug description:
The openjdk-6-jdk package creates
/usr/lib/jvm/.java-1.6.0-openjdk.jinfo
The last line of this file defines the alternative for the Firefox java plugin
plugin -javaplugin.so /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/IcedTeaPlugin.so
Running update-java-alternatives with the original file results in an
error of "update-alternatives: error: no alternatives for
-javaplugin.so."
# sudo update-java-alternatives --set java-1.6.0-openjdk
update-alternatives: error: no alternatives for -javaplugin.so.
This happens because there is no /etc/-javaplugin.so alternative
defined. The correct alternative is /etc/mozilla-javaplugin.so.
If you add "mozilla" to "-javaplugin.so" in /usr/lib/jvm/.java-1.6.0-openjdk.jinfo, update-java-alternatives runs correctly.
plugin mozilla-javaplugin.so /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/IcedTeaPlugin.so
Please add "mozilla" to that line when the openjdk-6-jdk package
installer generates /usr/lib/jvm/.java-1.6.0-openjdk.jinfo
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/966212/+subscriptions
References