← Back to team overview

openjdk team mailing list archive

[Bug 226911] Re: javaplugin alternatives are installed incorrectly leading to errors from update-java-alternatives

 

I can confirm it (with sun-java6-plugin), and to let my firefox recognize the java plugin I had to do manually this link:
sudo ln -s /etc/alternatives/xulrunner-1.9-javaplugin.so  /usr/lib/firefox/plugins/libjavaplugin.so

-- 
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.