LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-16-2010, 12:36 PM   #1
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 318

Rep: Reputation: 40
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 aboutlugins, 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?
 
Old 10-17-2010, 07:59 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] My little Slackware icon has disappeared in my posts since upgrade to Firefox 3.6... tallship Slackware 30 03-11-2010 11:24 AM
I don't know how to install plugins for Linox when using firefox gbr13 Linux - Newbie 3 02-09-2009 12:45 PM
How to set default browser in RHEL and install plugins (for firefox) ? onur.aktas Linux - Newbie 0 08-12-2008 10:32 AM
Firefox upgrade script to handle plugins migration and RSS reader patch shadowsnipes Slackware 3 03-10-2008 03:32 PM
How to upgrade Firefox Java JRE to 1.5.0_10 on SuSE 9.3? jackalista Linux - Software 1 01-22-2007 03:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration