Saturday, November 6, 2010

Install SUN Java-Plugin für Firefox under OpenSuse 11.x

IcedTea-Plugin is the standard Java-Pligin for Applets in OpenSuse. It's provided by openjdk. Some application, e.g. ElstarOnline, don't work with IcedTea and need Java-Plugin from SUN. Steps to install SUN's Java-Plugin:

1) Download SUN's JRE from http://www.java.com/de/download/. Current version is 1.6.0_21.

2) Install it. I've installed it under /usr/local/java/jre1.6.0_21

3) Create the following symbolic link in /usr/lib/browser-plugins/ (root rights are needed)
     sudo ln -s /usr/local/java/jre1.6.0_21/lib/i386/libnpjp2.so /usr/lib/browser-plugins/

4) Start Firefox and go to the Extras --> Add-ons --> Plugins

5) Deactivate IcedTea NPR Web Browser Plugin
    Activate (if not yet activated) Java(TM) Plug-in 1.6.0.21

3 comments:

  1. it is super, děkuji, thaks, danke

    ReplyDelete
  2. Simple instruction:

    As root:
    # zypper install libnpjp2.so

    Find it:
    # cd /usr
    # find . -name libnpjp2.so
    ./lib/jvm/java-1.6.0-sun-1.6.0/jre/lib/i386/libnpjp2.so

    So, it's located at:
    /usr/lib/jvm/java-1.6.0-sun-1.6.0/jre/lib/i386/libnpjp2.so

    Now create the link in your plugins directory. I have firefox in /opt/firefox:

    $ cd /opt/firefox/plugins

    ln -s /usr/lib/jvm/java-1.6.0-sun-1.6.0/jre/lib/i386/libnpjp2.so .

    ReplyDelete
  3. I am not able to see any JAVA plugins in firefox even though i followed all the instructions,
    can you plz suggest any other way..?

    thanks !!
    Suyash

    ReplyDelete

Note: Only a member of this blog may post a comment.