LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-10-2004, 02:13 PM   #1
robfrias
LQ Newbie
 
Registered: Dec 2004
Distribution: FC3
Posts: 3

Rep: Reputation: 0
Installing Java pluging on firefox


When viewing my web page with Firefox on a FC3 box, it coughs up an a warning stating:

"Additional Plugins are required to display all the media on this page" and then puts out a button that says "Install missing Plugin"

So far so good...I proceed and click on the "Install missing Plugin" button cause I'm quite ignorant of all this ...

All of the sudden a pop up with a check-marked "Sun Java J2SE50" blurb
appears... followed by:

"Press next to install these plugins".

So far so good...I proceed and click on the Next button.

Then it goes into a semi meditative state authoritatively stating that:

"FireFox is installing plugins............."

I wait for the progress bar to reach the end...then I press "NEXT"

and here is the kicker cause it then claims:

"Firefox finished installing the missing plugins:

Sun Java J2SE50 Not available Manual Install

Firefox needs to be restarted for the plugins to work"

I dutifully restarted Firefox and veryfied that it was lying to me, because I get the same warning.

"Additional Plugins are required to display all the media on this page"

So I got smart and pressed on the "Manual Install" eventually downloading this file "jre-1_5_0_linux-i586-rpm.bin"

Then I stuffed it in this directory /etc/java and then cause I was feeling clever I changed permissions on it to be able to execute it...and I did..by this command at the bash prompt

#./jre-1_5_0_linux-i586-rpm.bin

wich supposedly unpacked and installed the package...Where I do not know, How I do not know....these are part of the universe mysteries to me.

What I do know is that it didn't make squat of a difference....firefox still coughs up the same hairball message
"Additional Plugins are required to display all the media on this page"

Obviously the jre install package forgot to notify firefox that it now existed and so firefox does not know enough to call it when it needs it. My million dollar question:

How does one tell Firefox to point at the java plugin I installed?
Extra credit:
Into what directory did the jre..rpm package decide to install itself into?
(It was very impolite and never did give me a choice..or even notify me)

Thanks in advance, Roberto
 
Old 12-10-2004, 02:26 PM   #2
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,091

Rep: Reputation: 45
you prolly already had the plugin in your java file...you just need to link to it...check out:

http://plugindoc.mozdev.org/faqs/java.html#Linux
 
Old 12-10-2004, 02:30 PM   #3
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
Hey,

Yeah, they kinda lack instructions on how to link this plugin into firefox...so here you go...

First, as root, do a

updatedb

and wait a few. When it comes back, do

locate libjavaplugin_oji.so

and it SHOULD come back with a path similar to

/usr/java/jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so

and maybe some others. Now, get the path to your firefox directory, like this

locate firefox-installer

Let's say that tells you that it's in /home/some_dude/firefox-installer

Now, make this link...

ln -s <path returned from the first locate command> /home/some_dude/firefox-installer/plugins/libjavaplugin_oji.so


<EDIT>
make sure you replace "some_dude" in the above command with the actual location of your firefox-installer folder. Usually this will be your home directory, but not always.
</EDIT>

Is that clear? Let me know if I'm not making sense...

Last edited by jeffreybluml; 12-10-2004 at 02:35 PM.
 
Old 12-10-2004, 03:49 PM   #4
robfrias
LQ Newbie
 
Registered: Dec 2004
Distribution: FC3
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the quick responses. Unfortunately I messed the whole thing up before I read your advice...
Now firefox refuses to start.

This is my best recollection of how I messed everything. I tried to make a symbolic link as such:

#ln -s /usr/java/j2re1.5.0/plugin/i386/ns7-gcc29/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so

However before that I did a typo command as such:

#ln -s /usr/java/j2re1.5.0/plugin/i386/ns7-gcc29/libjavaplugin_oji.so


Could that have messed the startup of firefox?


Following your advice this is what I get:

#locate libjavaplugin_oji.so
/usr/java/j2re1.5.0/plugin/i386/ns7/libjavaplugin_oji.so
/usr/java/j2re1.5.0/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
/usr/lib/mozilla/plugins/libjavaplugin_oji.so

#locate firefox-installer
#

so apparently no firefox-installer exist on my system?

Should I unistall and re-install firefox? how does one do that ?
 
Old 12-10-2004, 04:18 PM   #5
robfrias
LQ Newbie
 
Registered: Dec 2004
Distribution: FC3
Posts: 3

Original Poster
Rep: Reputation: 0
Solved...thanks for all your help. Learned quite a bit from your responses....

This is how I fixed it:

went into the /usr/lib/mozilla/plugins directory

#cd /usr/lib/mozilla/plugins

then removed the existing link by:

#rm libjavaplugin_oji.so

then once again tried a symbolic link to:
#ln -s /usr/java/j2re1.5.0/plugin/i386/ns7/libjavaplugin_oji.so

restarted firefox, gotabing, gotabang !! and Alleluya.........!!! the universe became re-aligned

Notice that instead of the previous ..../ns7-gcc29/... , I used the ...../ns7/.....path

Why this path works and not the other, I don't have a clue...but Firefox runs like a champ now.
Advice... only use the ......../ns7/........ path unless you want to disable the use of firefox browser.
 
Old 12-10-2004, 04:20 PM   #6
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,091

Rep: Reputation: 45
in a terminal...try whereis firefox and see if that doesn't come back with something...

also, how did you install it? was it an rpm file or the tar.gz?

if its an rpm file, open a terminal, su to root and type rpm -e firefox and it should uninstall it for you.

i think to uninstall it if it was a tar.gz...just delete the firefox folder it created when you untarred it. it's probably in your home directory...then just untar the file again, and it will rebuild itself.


*edit...
oops...too late. congrats tho on fixing it!!!

Last edited by detpenguin; 12-10-2004 at 04:21 PM.
 
Old 12-10-2004, 04:22 PM   #7
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
um you should be looking for fire-installer
thats the installer :S

firefox-bin
is the firefox application found for me
/home/carl0ski/firefox1.0/
and you need the plugins directory


/home/carl0ski/firefox1.0/plugins/
in my case this is where mine is.

ln -s /usr/java/j2re1.5.0/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
/home/carl0ski/firefox1.0/plugins/libjavaplugin_oji.so
 
Old 12-21-2004, 01:25 PM   #8
robhfeld
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
installing Java plugin on Firefox

I had the same problem. Went into Tools:Options:Web Features and enabled 'Allow web sites to install software'. Plugin then installed OK, although I had to reboot (Win2000) because when I restarted Firefox, it told me the default profile could not be selected because it was already in use. Working fine now.
 
Old 12-29-2004, 01:50 AM   #9
Blue1K
Member
 
Registered: Dec 2004
Location: Vancouver
Distribution: Suse 10.1, PCLinuxOS
Posts: 31

Rep: Reputation: 15
Quote:
Originally posted by carl0ski
um you should be looking for fire-installer
thats the installer :S

firefox-bin
is the firefox application found for me
/home/carl0ski/firefox1.0/
and you need the plugins directory


/home/carl0ski/firefox1.0/plugins/
in my case this is where mine is.

ln -s /usr/java/j2re1.5.0/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
/home/carl0ski/firefox1.0/plugins/libjavaplugin_oji.so
I did everything that is listed in your post and I still get a message in firefox that java is not installed. I logged in as root and linked as shown above. No error messages were given in the shell console so I assume it linked the plugin to the firefox-installer directory? I made sure that the linked paths were actually correct. Not sure why it still does not work. I am running Mandrake. Any ideas? I am new to linux..so be kind
 
Old 12-30-2004, 03:12 AM   #10
Blue1K
Member
 
Registered: Dec 2004
Location: Vancouver
Distribution: Suse 10.1, PCLinuxOS
Posts: 31

Rep: Reputation: 15
...never mind..I am retarded...figured out I had a script error in Konsole..
 
Old 01-14-2005, 12:00 AM   #11
johnykit21
LQ Newbie
 
Registered: Jan 2005
Location: Miami FL
Distribution: WOW
Posts: 1

Rep: Reputation: 0
I have tried everything said

Hi gang, I'm new to linux and to this thread. I have tried everything that was said to be tried, however, when I go into my plugins and trying to access I keep on getting this error message:

The file //home/User_name/firefox-installer/plugins/libjavaplugin_oji.so cannot be found.

Any idea why I may be getting this error message?

Thanks in advance.
 
  


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
Installing java into firefox Travis Huey Linux - Newbie 13 09-03-2006 02:51 PM
Installing Java on Mandriva Firefox 1.0.4 ? tomb6 Mandriva 3 07-16-2005 11:59 AM
Firefox after installing java squirellplaying Linux - Software 1 10-05-2004 04:26 PM
Installing Java 2 on Firefox 0.9 arobic Linux - Distributions 1 07-07-2004 10:12 AM
Installing Java in Firefox Warmaster Mandriva 18 06-06-2004 02:20 PM


All times are GMT -5. The time now is 07:36 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration