LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Upgrade firefox in slackware 12.1 and install jre plugins (http://www.linuxquestions.org/questions/slackware-14/upgrade-firefox-in-slackware-12-1-and-install-jre-plugins-838517/)

vitalstrike82 10-16-2010 01:36 PM

Upgrade firefox in slackware 12.1 and install jre plugins
 
Hi,

i'm having trouble installing the jre in firefox3.6.

I'm using slackware 12.1 which comes with the default firefox 2.

Downloaded 3.6 into my systems this is where i install:

Code:

root@linux:/usr/lib/firefox3.6
I download the jre 6 from the java website and this is where i install:

Code:

chongming@linux:/usr/local/jre1.6.0_21
I create a symbolic link into the firefox3.6 plugin folder using this command:
Code:

root@linux:/usr/lib/firefox3.6/plugins# ln -s /usr/local/jre1.6.0_21//plugin/i386/ns7-gcc29/libjavaplugin_oji.so
Double check to see if the link exists:
Code:

root@linux:/usr/lib/firefox3.6/plugins# ls -l
total 20
lrwxrwxrwx 1 root root    66 2010-10-17 01:24 libjavaplugin_oji.so -> /usr/local/jre1.6.0_21//plugin/i386/ns7-gcc29/libjavaplugin_oji.so
-rwxr-xr-x 1 root root 15716 2010-10-17 00:49 libnullplugin.so

Restart the firefox and type about:plugins, the java plugin does not exists. I went to the java website and test to see if jre is install in firefox, but could not detect.

This is the permission for the firefox 3.6 dir in the /usr/lib path:

Code:

root@linux:/usr/lib# ls -ld firefox3.6/
drwxr-xr-x 13 root root 4096 2010-10-17 00:49 firefox3.6/

Is there any where i miss or i install the symbolic link in the wrong plugin folder? where does the firefox read its plugins?

bathory 10-17-2010 08:59 AM

Hi,

Later versions of firefox use libnpjp2.so instead of libjavaplugin_oji.so.
Also it's better to put firefox plugins into /usr/lib/mozilla/plugins
(or usr/lib64/mozilla/plugins if using Slack64). So try:
Code:

ln -s /usr/local/jre1.6.0_21/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins


All times are GMT -5. The time now is 03:23 PM.