LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 03-04-2008, 07:23 AM   #1
tm2383
Member
 
Registered: Oct 2006
Posts: 185

Rep: Reputation: 15
firefox problem after installing jre1.6.0_03


Hi,
I've just had to do a reinstall of my Suse Linux 10.3. I have updated my JRE on this sytem to jre1.6.0_03 and installed it to /usr/java and set up a link to it from firefox:
linux-73yn:/usr/lib/firefox/plugins # ln -s /usr/java/jre1.6.0_03/plugin/i386/ns7-gcc29/libjavaplugin_oji.so

Everything seems to have been installed as per instructions, but now when I launch Firefox, it appears on the screen for a few seconds and then closes down again.
Does anyone out there know what is happening here? When I installed it previously on the same computer, I had no problems. I even tried to download Firefox again and reinstall it, but this made no difference. It still crashes out when I launch it.
Any help would be great!!! :-)

Thanks,

Tim
 
Old 03-04-2008, 10:07 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,709

Rep: Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691
I don't think java is causing firefox to crash. I suspect there is something wrong with firefox itself.

From what I can see from your post, I don't think you created the simlink correctly. I'm using the same version of java without problems. I'm running it on Mandriva 2008. Soem things to verify. When I did a locate for libjava, here is what I see on my system.

Code:
locate libjavaplugin_oji.so
/usr/java/jre1.6.0_03/plugin/i386/ns7/libjavaplugin_oji.so
/usr/java/jre1.6.0_03/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
/usr/lib/firefox-2.0.0.12/plugins/libjavaplugin_oji.so
/usr/lib/mozilla/plugins/libjavaplugin_oji.so
The first two lines are the jre installation. The third is a simlink so firefox can find the java plugin. Here is what file shows.

Code:
file /usr/lib/firefox-2.0.0.12/plugins/libjavaplugin_oji.so
/usr/lib/firefox-2.0.0.12/plugins/libjavaplugin_oji.so: symbolic link to `/usr/java/jre1.6.0_03/plugin/i386/ns7/libjavaplugin_oji.so'
For what its worth, the last line is for Konqueror, so it can find java.

Run the commands on your system and see if you get the same or different results. If the symlinks are not correct, you won't get the same ( similar ) list.

Also try launching firefox from a konsole and look for errors when it crashes. Post any errors you can. Possibly we can get a handle on what is going on.
 
Old 03-04-2008, 12:21 PM   #3
tm2383
Member
 
Registered: Oct 2006
Posts: 185

Original Poster
Rep: Reputation: 15
Hi,
Thanks for the reply. When I run firefox from the terminal I get this error:

Code:
tim@linux-73yn:~> firefox
INTERNAL ERROR on Browser End: Could not get the plugin manager
System error?:: Success

You posted this output from your computer:

Code:
locate libjavaplugin_oji.so
/usr/java/jre1.6.0_03/plugin/i386/ns7/libjavaplugin_oji.so
/usr/java/jre1.6.0_03/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
/usr/lib/firefox-2.0.0.12/plugins/libjavaplugin_oji.so
/usr/lib/mozilla/plugins/libjavaplugin_oji.so
Mine was the same with the exception that mine was 'firefox', not 'firefox-2.0.0.12' and I did'nt have mozilla.

The symbolic link:

Code:
tim@linux-73yn:~> file /usr/lib/firefox/plugins/libjavaplugin_oji.so
/usr/lib/firefox/plugins/libjavaplugin_oji.so: symbolic link to `/usr/java/jre1.6.0_03/plugin/i386/ns7-gcc29/libjavaplugin_oji.so'
I'm not an expert on Linux, so don't really know what's going on here.


Thanks for any help :-)
Tim
 
Old 03-04-2008, 12:47 PM   #4
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 494

Rep: Reputation: 33
Looks to me like you've linked to the wrong plugin folder. Unless you changed gcc to the older 2.9x version, you should be using the ns7 folder for your plugin.

In your symbolic link, change ns7-gcc29 to ns7 like this:

/usr/java/jre1.6.0_03/plugin/i386/ns7/libjavaplugin_oji.so

Also, there's a newer version of this plugin available at download.opensuse.org/update

Last edited by pilotgi; 03-04-2008 at 12:50 PM. Reason: Added link to update
 
Old 03-04-2008, 01:03 PM   #5
tm2383
Member
 
Registered: Oct 2006
Posts: 185

Original Poster
Rep: Reputation: 15
Hi,
Thanks for the reply. How do I remove the old symbolic link. I tried to overwrite using what you said, but I just got the error :file exists.

Thanks again,

Tim
 
Old 03-04-2008, 01:24 PM   #6
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 494

Rep: Reputation: 33
Delete /usr/lib/firefox/plugins/libjavaplugin_oji.so

Then make the new link.
 
Old 03-04-2008, 02:07 PM   #7
tm2383
Member
 
Registered: Oct 2006
Posts: 185

Original Poster
Rep: Reputation: 15
Brilliant!!! Firefox is now working perfectly again :-)
I was scared to delete the old symbolic link without asking advice first in case it brought my system crashing down
round my head.

Thanks for all the help,

Tim
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java jre1.0.0_03 troubles Paton Slackware 9 10-05-2007 06:38 PM
Firefox 2.0.0.4 and JRE1.6.0_02 1948chev Linux - Software 2 09-20-2007 01:26 PM
problem with jre1.6.0_01 with firefox plk Linux - Software 7 05-16-2007 03:43 AM
Firefox1.0 jre1.5.0 sound problem TanelValdna Linux - Software 0 12-13-2004 04:44 AM
Firefox 1.0 won't launch w/Jre1.5.0 installed raysr Linux - Software 6 11-11-2004 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 04:26 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