Skip to main content

Thread: error: no alternatives for xulrunner-1.9-javaplugin.so.


hi, all:

environment: ubuntu 12.04 + oracle java se 7u6 ppa
after installation (strictly following http://www.webupd8.org/2012/01/insta...buntu-via.html ), got popular error messages:

peijia@peijia-ga-870a-ud3:/etc/alternatives$ sudo update-java-alternatives -s java-7-oracle
update-alternatives: error: no alternatives xulrunner-1.9-javaplugin.so.
update-alternatives: error: alternative /usr/lib/jvm/java-7-oracle/jre/bin/jexec jexec not registered, not setting.
update-alternatives: error: alternative /usr/lib/jvm/java-7-oracle/jre/lib/i386/libnpjp2.so mozilla-javaplugin.so not registered, not setting.
update-alternatives: error: no alternatives xulrunner-1.9-javaplugin.so.


solutions removing above errors?


best regards
pei

probably found it, i'll leave anyway other people can find it:
if 32bit - sudo update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /usr/lib/jvm/java-7-oracle/jre/lib/i386/libnpjp2.so 1
if 32bit - sudo update-alternatives --set mozilla-javaplugin.so /usr/lib/jvm/java-7-oracle/jre/lib/i386/libnpjp2.so
if 64bit - sudo update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /usr/lib/jvm/java-7-oracle/jre/lib/amd64/libnpjp2.so 1
if 64bit - sudo update-alternatives --set mozilla-javaplugin.so /usr/lib/jvm/java-7-oracle/jre/lib/amd64/libnpjp2.so
taken here; https://docs.google.com/document/d/1...ckow2ppf4/edit
tried it, worked on environment (xubuntu 12.10)


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] error: no alternatives for xulrunner-1.9-javaplugin.so.


Ubuntu

Comments

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues