LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing java into firefox (https://www.linuxquestions.org/questions/linux-newbie-8/installing-java-into-firefox-291164/)

Travis Huey 02-16-2005 07:54 PM

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,

JimBass 02-16-2005 08:46 PM

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

Travis Huey 02-16-2005 10:13 PM

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

JimBass 02-16-2005 10:30 PM

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

materazzi 02-17-2005 04:24 AM

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

Travis Huey 02-18-2005 02:56 AM

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

SeptivaOra 02-18-2005 10:42 AM

whats your system specs and distro

trempel 02-18-2005 12:34 PM

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.

Travis Huey 02-18-2005 01:52 PM

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.

Travis Huey 02-19-2005 04:08 PM

no more help eh?

Peleus 02-20-2005 02:38 AM

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.

dad 08-31-2006 01:22 PM

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.

sn68 09-03-2006 03:52 AM

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

dad 09-03-2006 01:51 PM

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 about:plugins 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.


All times are GMT -5. The time now is 08:44 PM.