The Java plugin has crashed
Hello Mozilla support team,
I am facing the following issue, and I am not able to solve it.
My OS is Debian Jessie. I have installed firefox 46.0, Java(TM) Plug-in 11.92.2 (enabled) and Shockwave Flash 11.2 r202 (enabled). Everything is updated. when I open a website that runs java, I get the message "The Java Plugin has crashed. Reload the page to try again". I have disabled "Use hardware acceleration when available". I have added "dom.ipc.plugins.java.enabled" with value on false. However, it hasn't worked.
I have also tried with firefox 47.0, and I get the same behavior
I will appreciate any help you could provide me.
Regards
Modified
All Replies (1)
I found the solution:
The librery libnpjp2.so was the one that causes this issue. I found in a blog that we need to install the library executing this:
update-alternatives --config mozilla-javaplugin.so
but I got this answer: There is only one alternative in link group mozilla-javaplugin.so (providing /usr/lib/mozilla/plugins/libjavaplugin.so): /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/IcedTeaPlugin.so Nothing to configure. update-alternatives: warning: forcing reinstallation of alternative /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/IcedTeaPlugin.so because link group mozilla-javaplugin.so is broken update-alternatives: warning: not replacing /usr/lib/mozilla/plugins/libjavaplugin.so with a link
So it means that the library doesn't have the symbolic link created ... the solution is :
ln -sf /usr/local/jdk/jdk1.8.0_112/jre/lib/amd64/libnpjp2.so /usr/lib/mozilla/plugins/
You just need to change "/usr/local/jdk/jdk1.8.0_112/jre/lib/amd64/libnpjp2.so" for the path where your java is .... with a "locate libnpjp2.so " will do the trick .... after this just restart firefox and everything should be fine.
Hope this fix your problem...
Regards