libnpjp2.so - java plugin missing in openjdk-8-jdk:i386

20,726

You need to install the icedtea-plugin:i386, it will create

/usr/lib/jvm/java-8-openjdk-i386/lib/i386/IcedTeaPlugin.so 

which you can symlink to

~/.mozilla/plugins/libnpjp2.so
Share:
20,726

Related videos on Youtube

Madhavan
Author by

Madhavan

Updated on September 18, 2022

Comments

  • Madhavan
    Madhavan almost 2 years

    I am using ubuntu 14.10 and i installed jdk8 via apt-get install openjdk-8-jdk:i386. Using update-alternatives, I have made java 8 as the default one.

    Now, when i checked java on firefox using this link, it showed java plugin is not working on browser.

    To fix this, I tried to copy libnpjp2.so from /usr/lib/jvm/java-8-openjdk-i386/lib/i386 to ~/.mozilla/plugins folder.

    But i can see, the plugin so file is missing inside the jvm libs folder

    How can i make java plugin work in firefox with openjdk-8?

  • Yu Jiaao
    Yu Jiaao about 8 years
    $ sudo apt-get install icedtea-plugin
  • r1pp3rj4ck
    r1pp3rj4ck almost 8 years
    @YuJiaao I think it's sudo apt-get install icedtea-plugin:i386 on 64 bit systems.
  • psv
    psv over 7 years
    I had to add ln -s /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/IcedTeaPlugin.‌​so libnpjp2.so
  • Niloct
    Niloct over 7 years
    There is no need to link with libnpjp2.so, I ran ln -s /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/IcedTeaPlugi‌​n.so . and activated IcedTea plugin by visiting java.com/en/download/installed8.jsp
  • thrau
    thrau almost 7 years
    if you install java manually, you also need to make sure that the javaws binary points to the correct jdk version. in my case, i had an alternative configured that needed proper linking.