LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-25-2004, 11:36 PM   #1
Warmaster
Member
 
Registered: May 2004
Distribution: Mandrake 10.0 OFFICIAL
Posts: 49

Rep: Reputation: 15
Exclamation Installing Java in Firefox


I downloaded the plugin, it said it installed succesfully, but it didn't...

any ideas ?
 
Old 05-26-2004, 01:38 AM   #2
korozion
Member
 
Registered: Apr 2004
Location: Canada
Distribution: Debian
Posts: 124

Rep: Reputation: 15
This may be a dumb question, but do you have java enabled in the config aswell?
 
Old 05-26-2004, 01:55 AM   #3
Warmaster
Member
 
Registered: May 2004
Distribution: Mandrake 10.0 OFFICIAL
Posts: 49

Original Poster
Rep: Reputation: 15
Exclamation ...

yup, enabled.
 
Old 05-26-2004, 03:20 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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
 
Old 05-26-2004, 04:47 AM   #5
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
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.

Last edited by motub; 05-26-2004 at 04:48 AM.
 
Old 05-26-2004, 06:03 AM   #6
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
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
 
Old 05-26-2004, 04:09 PM   #7
Warmaster
Member
 
Registered: May 2004
Distribution: Mandrake 10.0 OFFICIAL
Posts: 49

Original Poster
Rep: Reputation: 15
Exclamation ...

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.
 
Old 05-26-2004, 04:21 PM   #8
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
#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.
 
Old 05-26-2004, 05:11 PM   #9
Warmaster
Member
 
Registered: May 2004
Distribution: Mandrake 10.0 OFFICIAL
Posts: 49

Original Poster
Rep: Reputation: 15
...

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 ?
 
Old 05-26-2004, 05:17 PM   #10
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
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.
 
Old 05-26-2004, 05:40 PM   #11
Warmaster
Member
 
Registered: May 2004
Distribution: Mandrake 10.0 OFFICIAL
Posts: 49

Original Poster
Rep: Reputation: 15
Exclamation ...

1.4.2 rpm
 
Old 05-26-2004, 05:51 PM   #12
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
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
 
Old 05-26-2004, 08:10 PM   #13
Warmaster
Member
 
Registered: May 2004
Distribution: Mandrake 10.0 OFFICIAL
Posts: 49

Original Poster
Rep: Reputation: 15
Exclamation ...

thank you very much, I'll give it a try.
 
Old 05-27-2004, 04:33 AM   #14
statuszero
LQ Newbie
 
Registered: May 2002
Distribution: Mandrake 10?
Posts: 26

Rep: Reputation: 15
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
 
Old 05-27-2004, 06:37 PM   #15
thebutler4
Member
 
Registered: May 2004
Posts: 46

Rep: Reputation: 15
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 ..
 
  


Reply



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 01:51 PM
Installing Java on Mandriva Firefox 1.0.4 ? tomb6 Mandriva 3 07-16-2005 10:59 AM
Help installing Java w/ Firefox on Mandrake 10 Cupps Linux - Software 2 05-02-2005 05:56 PM
Firefox after installing java squirellplaying Linux - Software 1 10-05-2004 03:26 PM
Installing Java 2 on Firefox 0.9 arobic Linux - Distributions 1 07-07-2004 09:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:24 AM.

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
Open Source Consulting | Domain Registration