Why does jre1.7.0_55 come with libjavaplugin_oji.so instead of libnpjp2.so?
We require Java in firefox to run school applications. it worked fine until I updated Java. I've literally been trying ALL day to get Firefox (28.0) to recognize my updated java (unistalling, reinstalling, etc.). Finally, I've figured out that the plugin is "libjavaplugin_oji.so" instead of "libnpjp2.so." This is with jre1.7.0_55! How do I convert this file, so firefox will recognize it? I'm using Ubuntu 12.04.4 LTS Linux Lite 1.0.8. The only other plugin I currently have on Firefox is Shockwave Flash (11.2 r202).
All Replies (8)
Did you look in the correct folder folder for the Java plugin?
You need /jre1.7.0_55/lib/i386/libnpjp2.so and not jre1.7.0_51/plugin/i386/ns7/libjavaplugin_oji.so
When java (55's i386 version for linux) is unpacked, the ONLY plugin I have is /jusr/local/java/jre1.7.0_55/plugin/i386/ns7/libjavaplugin_oji.so !
Sorry, I'm a bit miffed about the entire issue, I typed it wrong: /usr/local/java/jre1.7.0_55/plugin/i386/ns7/libjavaplugin_oji.so
Don't ask me why or how it did this, but it did. I'm pretty sick of unistalling, downloading a "new" version, and installing the SAME problem. Please help, if you can.
I see the classic Java plugin libjavaplugin_oji.so as well in the plugin/i386/ns7/ folder in each Java 7 version because it still supports the classic Java plugin, but I also have the next generation libnpjp2.so Java plugin as jre1.7.0_55/lib/i386/libnpjp2.so.
Java 8 no longer has the libjavaplugin_oji.so plugin and only has the next generation libnpjp2.so Java plugin.
I'm glad you for some reason have jre1.7.0_55/lib/i386/libnpjp2.so. Unfortunately, I don't. How do I get it when each time I uninstall and reinstall, I get the same thing: no libnpjp2.so file?
Is there a place to find the libnpjp2.so file and just copy it to place in the jre1.7.0_55/lib/i386 file?
I'd really like to get this school computer recognizing classroom apps this weekend.
Thank you!
The libnpjp2.so file is in the jre-7u55-linux-i586.rpm and jre-7u55-linux-i586.tar.gz archives as you can check yourself, so make sure to install Java file from the Oracle server.
- jre-7u55-linux-i586.rpm/usr/java/jre1.7.0_55/lib/i386/libnpjp2.so
No, the libnpjp2.so file was not in the jre-7u55-linux-i586.tar.gz that I downloaded. However, your link is not the same location as my link. I downloaded mine (repeatedly, without the libnpjp2.so file EVER showing up) from https://www.java.com/en/download/linux_manual.jsp?locale=en . I will try your location http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html and see if the libnpjp2.so file shows up after extraction. If it does, I will mark this solved and thank you for sending the alternate location.
No problems here to find the libnpjp2.so with the link to the java.com website.
I don't know if the RPM installer includes this file when you install it as I only checked the content of the file in Krusader by accessing its content via the cursor right key.
- jre-7u55-linux-i586-1.rpm/usr/java/jre1.7.0_55/lib/i386/libnpjp2.so
A comparison check confirms for me that both files are the same, so I don't know why you are missing files.