← Back to team overview

openjdk team mailing list archive

[Bug 280064] Re: openjdk6 remains default web start plugin even when sun is default in alternatives

 

I have this same problem,

iuri@moeda:~$ update-alternatives --display xulrunner-1.9-javaplugin.so xulrunner-1.9-javaplugin.so - status is manual.
 link currently points to /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so
/usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so - priority 63
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/IcedTeaPlugin.so - priority 1061
Current `best' version is /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/IcedTeaPlugin.so.

But I can correct it by:
sudo apt-get install sun-java6-plugin
sudo update-alternatives --config xulrunner-1.9-javaplugin.so
[selectin here libnpjp2.so]

If I don't do this 'update-alternatives', firefox (via about:plugins)
displays two java plugins.

Possible cause: icedtea plugin only adds one alternative
(xulrunner-1.9.javaplugin.so) while sun plugin adds many alternatives,
so I think that is the problem.

in annex a complete list of alternatives

** Attachment added: "all_alternatives.txt"
   http://launchpadlibrarian.net/32677476/all_alternatives.txt

-- 
openjdk6 remains default web start plugin even when sun is default in alternatives
https://bugs.launchpad.net/bugs/280064
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “openjdk-6” package in Ubuntu: New

Bug description:
Basically when opening a web start application firefox gives one option for the jnlp file: Open with OpenJDK6 Web Start (default). The sun-java6-plugin isn't even displayed and I assume has to be manually selected.

But when you go to alternatives:
$ ls -l /etc/alternatives/javaws
lrwxrwxrwx 1 root root 38 2008-10-06 13:54 /etc/alternatives/javaws -> /usr/lib/jvm/java-6-sun/jre/bin/javaws

So something is definitely amiss here. This is probably either firefox's or one of the plugin packages' fault. This is in Ubuntu 8.04 with all packages up to date at moment of submission.