Jump to content

Can't load java plugin for Firefox

Penguin Geek

Recommended Posts

Hi all,


I've searched the web and the forum here for an answer, but can't see to find anything like this. I have done this setup before numerous times, but it's just not working this time. I downloaded the latest java jre ( from the control center. I follow the instructions on Java's website which is the same as Mozilla's website. As root, I ran from the /usr/lib/mozilla/plugins directory (where my other plugins are installed):


ln -s /usr/java/latest/plugin/i386/ns7/libjavaplugin_oji.so .

I restarted firefox, and java is still not loading. I found a /usr/lib/firefox-3.6.3 directory, but there is no plugins directory. I tried creating one and putting the plugin there, but still no luck. Any ideas?

Link to comment
Share on other sites

I have that plugin package already, it was a dependency package. The problem was linking the .so file so Firefox recognizes it. I got an answer through my LUG on Google Groups. Apparently, Sun has changed what .so file you need to link to. http://forums.mozillazine.org/viewtopic.php?f=23&t=1576825


The correct library to link to now is libnpjp2.so, located in /usr/java/latest/lib/i386/


I ran this command while in the /usr/lib/mozilla/plugins directory, and it worked:


ln -s /usr/java/latest/lib/i386/libnpjp2.so .

Link to comment
Share on other sites

Speaking of java with 2010.1 cooker, I can't find java-1.6.0-sun-plugin in the 2010.1 repositories. Is it still being packaged? How do I enable java for Firefox in Cooker? Can I use java-1.6.0-openjdk-plugin instead?





Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...