On Ubuntu 10.10 (Maverick), I have both java-6-openjkd
and java-6-sun
as shown with the update-java-alternatives -l
command.
However when I set the alternative to Sun, via the command
sudo update-java-alternatives -s java-6-sun
I see the following:
update-alternatives: error: no alternatives for xulrunner-1.9-javaplugin.so.
update-alternatives: error: alternative /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so for mozilla-javaplugin.so not registered, not setting.
update-alternatives: error: no alternatives for xulrunner-1.9-javaplugin.so.
Does this result in xulrunner
being non-functional or simply result in it continuing to use the Open JVM? Likewise I am posing the similar question in regard to mozilla-javaplugin.so
.
Update Switching back to OpenJDK also results in an error:
$ sudo update-java-alternatives -s java-6-openjdk
update-alternatives: error: no alternatives for xulrunner-1.9-javaplugin.so.
What if anything can be done about this?
Update I am swayed by this commentary on why instructions were written to install Sun Java that it will be less risky human attention/time-wise to use Sun. I am using and also API interfacing to an Web Start application where the support materials all refer to Sun.
Quoted from the same place of @Aeterna