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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-10-2004, 01:13 PM
|
#1
|
LQ Newbie
Registered: Dec 2004
Distribution: FC3
Posts: 3
Rep:
|
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
|
|
|
12-10-2004, 01:26 PM
|
#2
|
Senior Member
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098
Rep:
|
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
|
|
|
12-10-2004, 01:30 PM
|
#3
|
Member
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405
Rep:
|
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 01:35 PM.
|
|
|
12-10-2004, 02:49 PM
|
#4
|
LQ Newbie
Registered: Dec 2004
Distribution: FC3
Posts: 3
Original Poster
Rep:
|
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 ?
|
|
|
12-10-2004, 03:18 PM
|
#5
|
LQ Newbie
Registered: Dec 2004
Distribution: FC3
Posts: 3
Original Poster
Rep:
|
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.
|
|
|
12-10-2004, 03:20 PM
|
#6
|
Senior Member
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098
Rep:
|
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 03:21 PM.
|
|
|
12-10-2004, 03:22 PM
|
#7
|
Member
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Rep:
|
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
|
|
|
12-21-2004, 12:25 PM
|
#8
|
LQ Newbie
Registered: Dec 2004
Posts: 1
Rep:
|
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.
|
|
|
12-29-2004, 12:50 AM
|
#9
|
Member
Registered: Dec 2004
Location: Vancouver
Distribution: Suse 10.1, PCLinuxOS
Posts: 31
Rep:
|
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
|
|
|
12-30-2004, 02:12 AM
|
#10
|
Member
Registered: Dec 2004
Location: Vancouver
Distribution: Suse 10.1, PCLinuxOS
Posts: 31
Rep:
|
...never mind..I am retarded...figured out I had a script error in Konsole..
|
|
|
01-13-2005, 11:00 PM
|
#11
|
LQ Newbie
Registered: Jan 2005
Location: Miami FL
Distribution: WOW
Posts: 1
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 10:17 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|