LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Installing Java in Firefox (https://www.linuxquestions.org/questions/mandriva-30/installing-java-in-firefox-185916/)

Warmaster 05-25-2004 11:36 PM

Installing Java in Firefox
 
I downloaded the plugin, it said it installed succesfully, but it didn't...

any ideas ?

korozion 05-26-2004 01:38 AM

This may be a dumb question, but do you have java enabled in the config aswell?

Warmaster 05-26-2004 01:55 AM

...
 
yup, enabled.

Bruce Hill 05-26-2004 03:20 AM

How did you install it? Warmaster, we need details...
This ain't Windoze and the java plug-in doesn't install by itself...

How about a simple little How-To from a fellow LQ dude, Ninja Cow?

http://www.thinkindependent.net/arch...category.shtml

motub 05-26-2004 04:47 AM

IIrc, the Java plugin installs to Mozilla's plugins directory, not Firefox's (dependent on Java version, I think, only the most recent Sun Java actually recognized that Firefox even existed). So what you probably need to do is open a file manager as root and copy the plugin from the main Mozilla plugins folder (probably in /usr/lib/<mozilla directory>/plugins) to the main Firefox plugins folder (in /usr/lib/<firefox directory>/plugins).

On my system, these are both symlinks to the Java plugin in the Java install directory, so if that is the case for you, then copy the symlink in the Mozilla directory to the Firefox directory, or make another one in the Java directory and cut-and-paste it to Firefox.

Hope this helps.

otish1000c 05-26-2004 06:03 AM

i don't use firefox (mozilla, here) but if firefox handles java plugins the same way moz does, you just can't copy the plugin or symlink. you need to create an actual sym link into the firefox plugins directory itself. here's the official scoop from the firefox faq section...........

Quote:

On Linux, Firefox requires JRE 1.4.2 or later.

Firefox is compiled with gcc 3.2.3, so a compatible version of the Java plugin must be used. JRE 1.4.2 contains a compatible plugin.

If you installed the JRE 1.4.2_01 RPM, this plugin is /usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32/libjavaplugin_oji.so and to install it for Firefox, do the following:

* Open a terminal
* Change to your Firefox plugins directory
* Issue the following command: ln -s /usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
...........note, you'll need to do that as root.

otis

Warmaster 05-26-2004 04:09 PM

...
 
I did just that, and nothing seems to happen...

I'm trying to browse www.3dgames.com.ar
but I keep trying getting that annoying message (click ok to download java plugin bla bla)

I've installed it from there, then deleted it, then installed the rpm, and nothing seems to work.

motub 05-26-2004 04:21 PM

#1: Do you have Javascript enabled in Firefox (Tools=>Options=>Web Features=>Enable Java, Enable Javascript)? I've just looked at the source for the page and that's what it's written in.

#2: Are you sure that it's the Java plugin it's asking for? I see what looks like a lot of Flash on that page (though the source didn't seem to indicate it, but I'm not all that good at reading such things). The Flash plugin does require Java to run, but is definitely a separate plugin; do you have that installed?

Hope this helps.

Warmaster 05-26-2004 05:11 PM

...
 
Flash works like a charm, java does not :(

I have it enabled, and did that magic link or whatever...

isn't there any other automatic installation ?

motub 05-26-2004 05:17 PM

What version of Java is this? As noted somewhere or other, Firefox needs 1.4.2 to run, and as I recall, when I installed that version, it did offer to put the plugin in the Firefox folder as well as the Mozilla folder.

So all I can think at this point is that you're using an older version of Java that does not work with Firefox.

Warmaster 05-26-2004 05:40 PM

...
 
1.4.2 rpm :(

otish1000c 05-26-2004 05:51 PM

the symlink method i posted above should work. are you trying to do it with firefox running? if so, you must close it first. also, delete any previous java plugins from the plugin directory (except for the libnull plugin) also, did you cd to your firefox plugin directory as root to symlink the plugin? that's a must, too.

1. close all instances of firefox
2. delete any java plugins in the /pathtoyour/firefox/plugins directory (EXCEPT for libnull)
3. open a terminal
4. su to root (su->enter->root password->enter)
5. cd to your firefox plugin directory
(example: cd /pathtoyour/firefox/plugins)
6. type the following exactly as is
ln -s /usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
7. enter
(note..../usr/java/j2re1.4.2_01 is the default install directory for java. if you have it some where else, then adjust that or reinstall the java to the /usr directory as such)
8. open firefox & test a java site or several. it should work.

otis

Warmaster 05-26-2004 08:10 PM

...
 
thank you very much, I'll give it a try.

statuszero 05-27-2004 04:33 AM

Yeah i was having the same problem and i did what otish1000c said in post 12 and it worked a dream.

Nice one. Man the linux community is much more supportive, my migration to linux is getting there....kinda slowly but surely :)
s0

thebutler4 05-27-2004 06:37 PM

I still cant get this working ... I have followed everything to the "T" and when I goto DSL reports.com and try a speed test .. it tells me I need the Java plugin ...

I too am running Firefox however I was unable to get it working with Netscape as well .. so ..


All times are GMT -5. The time now is 04:06 PM.