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
Related videos on Youtube
Author by
Madhavan
Updated on September 18, 2022Comments
-
Madhavan almost 2 years
I am using ubuntu 14.10 and i installed jdk8 via
apt-get install openjdk-8-jdk:i386
. Usingupdate-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 folderHow can i make java plugin work in firefox with openjdk-8?
-
Yu Jiaao about 8 years$ sudo apt-get install icedtea-plugin
-
r1pp3rj4ck almost 8 years@YuJiaao I think it's
sudo apt-get install icedtea-plugin:i386
on 64 bit systems. -
psv over 7 yearsI had to add
ln -s /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/IcedTeaPlugin.so libnpjp2.so
-
Niloct over 7 yearsThere is no need to link with
libnpjp2.so
, I ranln -s /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/IcedTeaPlugin.so .
and activated IcedTea plugin by visiting java.com/en/download/installed8.jsp -
thrau almost 7 yearsif 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.