LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-16-2005, 08:54 PM   #1
Travis Huey
LQ Newbie
 
Registered: Feb 2005
Posts: 12

Rep: Reputation: 0
Installing java into firefox


alright been having problems with this, i used the install manuals from Firefox, and java too install each.

i have them both in /usr/local/

i install em, i do the instructions, but each time same result when i load up a page with java, it still needs the plugin.

few strange things i noticed with the installs..... the java manual said the file name was jre-1_5_0-linux-rpm.bin, but the one i have, and downloaded from there site ( right next to the manual button ) says its 1.5.0.01, and same with the end result folder, 1.5.0.01,

i heard there was a incompatible version of java for foxfire 1.0, so if its 1.5.0.01 point me in the direction of a working one?

any help or assestence would be cool,
 
Old 02-16-2005, 09:46 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Most likely you don't have the java and firefox files linked together properly. You can have both fully installed, but if they aren't aware of each other, you'll keep getting the message that you are missing the plugin.

This webpage helped me ALOT with getting plugins to work:
http://plugindoc.mozdev.org/linux.html#Java

Here's the short and sweet version of how to get them to work -
Use the search function on your computer (CLI or graphical, whatever is easier for you) to find the location of the libjavaplugin_oji.so file. Once you know where that is, you want to create a symbolic link from the mozilla plugins directory to that file.

In my case, libjavaplugin_oji.so is found in /usr/java/jre1.5.0_01/plugin/i386/ns7/libjavaplugin_oji.so, so I went to my mozilla plugins directory (works for firefox as well) and created the symbolic link between the two. The command for that was something like
Code:
ln -s /usr/java/jre1.5.0_01/plugin/i386/ns7/libjavaplugin_oji.so /home/jim/.mozilla/plugins/libjavaplugin_oji.so
.

I doubt your user account is also named jim, so you'll want to change that, but /home/(yourname)/.mozilla/plugins/ should be where the link is made. The mozilla directory should have the . before its name, it is hidden.

Please post back if that doesn't work for you.

Peace,
JimBass
 
Old 02-16-2005, 11:13 PM   #3
Travis Huey
LQ Newbie
 
Registered: Feb 2005
Posts: 12

Original Poster
Rep: Reputation: 0
ive done all of that sep firefox, and java dir's are in /usr/local/
i have the updated version, turns out thats what the 01 was.....just doesnt seem to work, the link is in the folder and everthing
 
Old 02-16-2005, 11:30 PM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
It doesn't matter where the files are actually installed, as long as you have the link in the right place. My firefox is installed in /usr/lib/firefox, but I still have to link from /home/me/.mozilla/plugins to the java file I mentioned. Please go toy your /home/name/.mozilla/plugins/ directory and do an ls -al and print the results here. I still think you just don't have the linked files in the right location.

Peace,
JimBass
 
Old 02-17-2005, 05:24 AM   #5
materazzi
LQ Newbie
 
Registered: Aug 2003
Location: europe
Distribution: FC 3
Posts: 12

Rep: Reputation: 0
I have java 1.4.2, so according to the linked page I had to use the plugin in plugin/i386/ns610-gcc32 in the method JimBass posted, which I did, but then firefox crashes whenever I try to open a page with a java applet in it. I found another libjavaplugin_oji.so in plugin/i386/ns610 but when I use that one firefox refuses to start entirely. Any ideas?

thanks
 
Old 02-18-2005, 03:56 AM   #6
Travis Huey
LQ Newbie
 
Registered: Feb 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Alright, i didnt realise the .mozilla file was even there really, i went to it, but there wasnt a plugin directory....so i made one, and installed the link, still the same thing when i try to view anything in java.
i think maybe sence ive installed, diffrent versions of mozilla, i may have more then one .mozilla? or that the programs just arent compatible. also, i did install firefox and java on root, but am trying to get it to work on "mindless" hence the /usr/local/ i looked on root, and there isnt a .mozilla, but still on mindless

as requested here is the ls of home/me/.mozilla/plugins, but note, i created it, so that may be one fault.

first, /home/mindless/.mozilla/


appreg( in black) default( in blue ) firefox(blue) Mindless(blue) mozver.dat(black) pluginreg.dat(black) plugins(blue)


second /home/mindless/.mozilla/plugins/


libjavaplugin_oji.so(highlighted in red, white font )



sorry im linux newb, so i dont know what the color code exaclty means,, assuming black is files, blue is directorys.... and highlight red are links...heh
 
Old 02-18-2005, 11:42 AM   #7
SeptivaOra
LQ Newbie
 
Registered: Mar 2004
Posts: 16

Rep: Reputation: 0
whats your system specs and distro
 
Old 02-18-2005, 01:34 PM   #8
trempel
Member
 
Registered: Jan 2005
Location: B.C, Canada
Distribution: Mint 17.3
Posts: 131

Rep: Reputation: 15
https://addons.update.mozilla.org/plugins/

go down the page a small way, java should be the third one listed.
I installed flash player yesterday after following a link from this page. There should be no problem with java.
 
Old 02-18-2005, 02:52 PM   #9
Travis Huey
LQ Newbie
 
Registered: Feb 2005
Posts: 12

Original Poster
Rep: Reputation: 0
first reply, AMD k6-2 512 ram, oldish FX card ( would run java on windows, and is compatible with linux, and im using redhat 9.0.

2nd reply, thats the same update i was using. 1.5.0.01.

Last edited by Travis Huey; 02-19-2005 at 05:06 PM.
 
Old 02-19-2005, 05:08 PM   #10
Travis Huey
LQ Newbie
 
Registered: Feb 2005
Posts: 12

Original Poster
Rep: Reputation: 0
no more help eh?
 
Old 02-20-2005, 03:38 AM   #11
Peleus
Member
 
Registered: Mar 2003
Posts: 77

Rep: Reputation: 15
I've tried as well but no help, for some reason I can't download from java, they block me I have no idea why, so I tried blackdown.

[peleus@localhost peleus]$ ls /home/peleus/.mozilla/plugins/
flashplayer.xpt javaplugin_oji.so@ libflashplayer.so*
[peleus@localhost peleus]$

So as you can see I have it linked, also I have it linked to

[peleus@localhost peleus]$ ls /usr/lib/mozilla/plugins/
javaplugin_oji.so@

[peleus@localhost peleus]$ ls /usr/lib/mozilla-1.6/plugins/
javaplugin_oji.so@ libnullplugin.so*

But it still won't work, the command line I am doing is ln -s /usr/progs/java/j2re1.3.1/plugin/i386/mozilla/javaplugin_oji.so /home/peleus/.mozilla/plugins/

I have java installed at /usr/progs/java

Any help would be loved.
 
Old 08-31-2006, 02:22 PM   #12
dad
Member
 
Registered: Sep 2003
Location: Florida
Distribution: Ubuntu
Posts: 139

Rep: Reputation: 16
I have been pulling my hair out to get Java to work, now I'm bald, DOH! I had another issues that hosed things up. I have upgrade my foxfire so I have two installed but only the new one works, so for awhile I was making links to the wrong place!!!! I followed JimBass's post about creating the "link" it does work, for me anyway. I found you must look very closely at your own paths and versions of Java. It worked great for me after a few hours and a lot of bad language, plus hair loss.
 
Old 09-03-2006, 04:52 AM   #13
sn68
Member
 
Registered: Oct 2005
Distribution: FC5
Posts: 338

Rep: Reputation: 30
Re : Installing java into firefox

Hi
Please do the following before installing java plugin

Go to "System" > "Administration" > "Security Level and Firewall". Enter your root password and click "ok". On the "SELinux" tab click on "Modify SELinux Policy", click on "Compatibility" to open it and tick the check box next to "Allow the use of shared libraries with Text Relocation". Click "ok". Reboot your machine to implement the new SELinux policy

Thereafter install the java plugin and it should work
Ref : http://www.stanton-finley.net/fedora...otes.html#Java
 
Old 09-03-2006, 02:51 PM   #14
dad
Member
 
Registered: Sep 2003
Location: Florida
Distribution: Ubuntu
Posts: 139

Rep: Reputation: 16
I got it to work using JimBass's symboliclink deal. I never did a link before so I had issues as usual. Now when I do aboutlugins I get a load of stuff, before nothing. But for some reason FOX news video's still don't work. I suspect they did some kind of Billy Gates downgrade and hosed us.
 
  


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
Help installing Java w/ Firefox on Mandrake 10 Cupps Linux - Software 2 05-02-2005 06:56 PM
Installing Java pluging on firefox robfrias Linux - Newbie 10 01-14-2005 12:00 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 06:45 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