openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #00198
[Bug 226911] Re: javaplugin alternatives are installed incorrectly leading to errors from update-java-alternatives
"Me too" on Hardy x86 32bit with java-1.5.0-sun and java-6-sun
Replacing xulrunner-addons-javaplugin.so with
xulrunner-1.9-javaplugin.so in /usr/lib/jvm/.java-1.5.0-sun.jinfo and
/usr/lib/jvm/.java-6-sun.jinfo allows me to switch back and forth
between versions of the plugins now.
Previously, I was seeing the error message reported above ("No
alternatives for xulrunner-addons-javaplugin.so.") when running either
"sudo update-java-alternatives -s java-1.5.0-sun" or "sudo update-java-
alternatives -s java-6-sun".
--
javaplugin alternatives are installed incorrectly leading to errors from update-java-alternatives
https://bugs.launchpad.net/bugs/226911
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.
Status in Source Package "openjdk-6" in Ubuntu: New
Status in Source Package "sun-java5" in Ubuntu: New
Status in Source Package "sun-java6" in Ubuntu: New
Bug description:
sun-java6-{bin,demo,jdk,jre,plugin,source} 6-06-0ubuntu1
The postinst script installs an alternative called "xulrunner-1.9-javaplugin.so" but the jinfo file contains the name "xulrunner-addons-javaplugin.so". The mismatch prevents update-java-alternatives from working properly - for example, try "update-java-alternatives --plugin --set java-6-sun" and it reports "No alternatives for xulrunner-addons-javaplugin.so."
I believe all of the above is also a problem for the sun-java5-* packages.