LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 03-16-2008, 02:33 AM   #1
nivedhitha
LQ Newbie
 
Registered: Jul 2005
Posts: 29

Rep: Reputation: 0
JRE issue with firefox


Hi all,

I have an issue with getting JRE plugin detected in Firefox.

System setup:
RHEL 4 i386 with 32 bit Firefox present in
/usr/lib/firefox
There is no 64 bit Firefox.

Steps taken:
1) Downloaded the Linux RPM (self extracting file) from
java.com website to my default download location which is /home/nivi/Desktop.
(I did not download the ones with "64" in it. So I am assuming that what I've downloaded is the 32 bit one).

2)$su -

3)#cp /home/nivi/Desktop/<the self extracting rpm file which i have downloaded> /usr/java

4)#cd /usr/java

5)#chmod a+x <the self extracting rpm>

6)#./<the self extracting rpm>
and accepted the license agreement.

7) To confirm,

#pwd
/usr/java
# ls -ltr
total 37812
lrwxrwxrwx 1 root root 16 Mar 12 09:24 default -> /usr/java/latest
drwxr-xr-x 7 root root 4096 Mar 12 09:24 jre1.6.0_05
-rw-r--r-- 1 root root 19455348 Feb 22 17:11 jre-6u5-linux-i586.rpm
-rwxr-xr-x 1 root root 19207812 Mar 12 09:23 jre-6u5-linux-i586-rpm.bin
lrwxrwxrwx 1 root root 21 Mar 12 09:24 latest -> /usr/java/jre1.6.0_05


#cd /usr/lib/firefox/plugins

9)#ln -s /usr/java/jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so .

10)To confirm,
# cd /usr/lib/firefox/plugins/
# ls -ltr
total 20
-rwxr-xr-x 1 root root 19160 Feb 2 11:17 libnullplugin.so
lrwxrwxrwx 1 root root 58 Mar 12 16:53 libjavaplugin_oji.so -> /usr/java/jre1.6.0_05/plugin/i386/ns7/libjavaplugin_oji.so

11)Ensured "Enable Java" and "Enable JavaScript" are checked in Edit -> Preferences -> Content

12)Restarted Firefox.

No go. JRE is not installed there.
Also, aboutlugins in Firefox does not show Java Plugin as loaded.

Please help.

Also, I am not sure if getting JRE to work with Firefox has got anything to do with JDK. Or are the two unrelated?

Thanks.
 
Old 03-16-2008, 09:18 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 9,608

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
Quote:
9)#ln -s /usr/java/jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so .
You want
Code:
9)#ln -s /usr/java/jre1.6.0_05/plugin/i386/ns7/libjavaplugin_oji.so .
 
Old 03-17-2008, 04:11 AM   #3
nivedhitha
LQ Newbie
 
Registered: Jul 2005
Posts: 29

Original Poster
Rep: Reputation: 0
Hi,
Thanks for your reply.

I think that's what I got there.

From the directory /usr/lib/firefox/plugins, i type ls -l to get this:

# ls -l
total 20
lrwxrwxrwx 1 root root 58 Mar 12 16:53 libjavaplugin_oji.so -> /usr/java/jre1.6.0_05/plugin/i386/ns7/libjavaplugin_oji.so
-rwxr-xr-x 1 root root 19160 Feb 2 11:17 libnullplugin.so

Sorry for the typo in the first post.

Please help.
 
Old 03-17-2008, 08:27 AM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 9,608

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
Quote:
From the directory /usr/lib/firefox/plugins, i type ls -l to get this:
Maybe you need to create the symlink in /usr/lib/mozilla/plugins, according to this faq.

Regards
 
Old 03-17-2008, 09:10 AM   #5
nivedhitha
LQ Newbie
 
Registered: Jul 2005
Posts: 29

Original Poster
Rep: Reputation: 0
Thanks bathory.

But i have that one too.

# cd /usr/lib/mozilla/plugins/

# ls -l
total 0
lrwxrwxrwx 1 root root 58 Mar 12 16:53 libjavaplugin_oji.so -> /usr/java/jre1.6.0_05/plugin/i386/ns7/libjavaplugin_oji.so
 
Old 03-18-2008, 03:08 AM   #6
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 9,608

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
Maybe you need the compat-libstdc++ libraries and remove nspluginwrapper. See this post for more info.

Regards
 
Old 03-25-2008, 05:02 AM   #7
nivedhitha
LQ Newbie
 
Registered: Jul 2005
Posts: 29

Original Poster
Rep: Reputation: 0
Thank you.

I need some time to try that out. Once i do so, i will let u know how it went.

Thanks again for taking time to help me out.
 
Old 04-11-2008, 10:14 AM   #8
nivedhitha
LQ Newbie
 
Registered: Jul 2005
Posts: 29

Original Poster
Rep: Reputation: 0
Hi bathory,

I tried out the solution you gave me and it worked!!!

I installed both
compat-libstdc++-296-2.96-138.i386.rpm
and
compat-libstdc++-33-3.2.3-61.i386.rpm

There was no nspluginwrapper installed, and hence no question of removing it.

Followed the normal steps to install java. It worked and Firefox detects java.

Thanks again and sorry for the delay in getting back.

Regards,
Nivedhitha
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
opensuse 10.3 JRE issue with firefox (ns7-gcc29 or ns7) knockout_artist Linux - Newbie 11 02-01-2008 10:44 PM
Firefox 2.0.0.5 and JRE 6.0.2 andymck Linux - Software 18 08-27-2007 12:31 PM
JRE in Firefox dalponis Linux - Software 2 01-07-2006 10:23 PM
jre blips out Firefox dfowensby Fedora 1 01-26-2005 01:48 AM
Firefox and JRE merchtemeagle Linux - Newbie 3 10-17-2004 09:37 AM


All times are GMT -5. The time now is 09:10 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration