LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-06-2007, 02:00 PM   #1
vcatalano
LQ Newbie
 
Registered: Sep 2006
Posts: 27

Rep: Reputation: 15
JRE on firefox 2 problem


I have the latest version of JRE on my Ubuntu Edgy box, however, every time I try to run a java applet, firefox2 says that I dont have the correct plugin installed (Java Runtime Environment). Even when I try to load applets on other websites I get the same error. I am sure I have all the correct java programs and utilities I but I cant find out how to get firefox2 to recognize the JRE that is already installed.
 
Old 01-06-2007, 02:35 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,697

Rep: Reputation: 61
Have you softlinked the java plugin to the firefox plugin directory. If not then you need to do that.

Brian
 
Old 01-06-2007, 02:46 PM   #3
vcatalano
LQ Newbie
 
Registered: Sep 2006
Posts: 27

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Brian1
Have you softlinked the java plugin to the firefox plugin directory. If not then you need to do that.

Brian
How can I do this?
 
Old 01-06-2007, 04:21 PM   #4
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,697

Rep: Reputation: 61
I cannot give a specific command since not knowing which java was installed and where it was installed. But check out this post on the subject. It is outdated as far as version but should point you to the right location with a little searching on your drive for the plugin file. Then you need to know where the firefox plugin folder is. Again all depends on how it was installed and where. http://www.linuxquestions.org/questi...66#post1402966

Brian
 
Old 01-07-2007, 10:29 PM   #5
vcatalano
LQ Newbie
 
Registered: Sep 2006
Posts: 27

Original Poster
Rep: Reputation: 15
I have tried linking every single javaplugin_oji.so file to my /usr/lib/firefox/plugins folder but ever time it DOES NOT RECOGNIZED THE JAVA PLUGIN

I have linked the javaplugin_oji.so file from:
/usr/lib/j2re1.5-sun/plugin/i386/n7-gcc29/
/usr/lib/j2re1.5-sun/plugin/i386/ns7
/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/plugin/i386/ns7-gcc29/
/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/plugin/i386/ns7/

...but none of them seem to work. Does anyone have any suggestions?
 
Old 01-08-2007, 04:12 PM   #6
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,697

Rep: Reputation: 61
Which one is it you need? The one in ns7 is the one you want.

Also if use the ln command to set did you delete the link first or use the -f option to force the over write. ln will not over write an existing link without the -f option. It will not error or complain even if you tried without the -f option. ln -sf <source file> <destination file soft link>

Post command you have been using point from the orginal file to the point where the softlink is placed.

Brian
 
Old 01-09-2007, 03:33 AM   #7
vcatalano
LQ Newbie
 
Registered: Sep 2006
Posts: 27

Original Poster
Rep: Reputation: 15
Cool Solution

I discovered that I could only get the plugin to work by installing it into the single user directory. This was done with the following command line.

sudo ln -s /usr/lib/j2re1.5-sun/plugin/i386/ns7/libjavaplugin_oji.so /home/[username]/.mozilla/plugins/libjavaplugin_oji.so
 
Old 01-09-2007, 03:08 PM   #8
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,697

Rep: Reputation: 61
Glad to see you have it going. Normally plugins in /usr/lib/mozilla/plugins works on mozilla and firefox. But some of that depends on they are compiled.

Brian
 
Old 01-21-2007, 05:52 AM   #9
FromFPan2Fire
LQ Newbie
 
Registered: Jan 2007
Distribution: Ubuntu 6.06 LTS Dapper Drake
Posts: 5

Rep: Reputation: 0
Thanks - Got Java working for me now, too!

Thanks to this post! After too many hours I finally got Java running on my Ubuntu 6.06 / Firefox 2.0.0.1 system. I was specifically trying to load 1.4; and the final step, provided by you'll was:

sudo ln -s /usr/lib/j2se/1.4/jre/plugin/i386/mozilla/libjavaplugin_oji.so /home/<user>/.mozilla/plugins/libjavaplugin_oji.so

But first I had to manually create the folder plugins under .mozilla

THANKS
 
  


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
JRE in Firefox dalponis Linux - Software 2 01-07-2006 10:23 PM
Firefox browser and jre problem anindyanuri Linux - Software 17 10-31-2005 09:29 PM
FC4, Firefox 1.0.4 and JRE 1.4.2 webwolf70 Fedora 11 06-19-2005 01:13 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 11:30 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 Google+: linuxquestions
Open Source Consulting | Domain Registration