Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 08-24-2004, 10:39 AM   #1
Registered: Apr 2004
Posts: 686

Rep: Reputation: 46
having trouble with java pluggin for firefox, using debian

What a pain.

According to the mozilla site, I'm supposed to download j2re-1_4_2_05-linux-i586.bin. No instructions as to where to download.

I download this to the /usr/bin directory - just a guess.

I run the j2re-1_4_2_05-linux-i586.bin binary, and it seems to install.

Next I'm instructed to go to my firefox pluggins directoy and create a link. No indication as to where this directory exists. I do a find and come up with: :/usr/lib/mozilla-firefox/plugins. As good a guess as any, I suppose.

Now here is the real problem. I'm instructed to enter the following command.

ln -s /usr/java/j2re1.4.2_05/plugin/i386/ns610-gcc32/

I can issue the command, I even tried it. Problem is: there is no /usr/java directory. In fact I can't find a java plugin directory anywhere. I tried a:

find /usr -name "java" -print | grep plugin

and came up with: /usr/lib/mozilla-firefox/plugins/j2re1.4.2_05/bin/java

Is that what I link to?

This sucks, it's a complicated ordeal, without so much as worthwhile instructions.
Old 08-24-2004, 01:40 PM   #2
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
The .bin file just extracts the file into the directory it is in. It might be better to use /usr/share/, than run:
ls -n /usr/share/j2re1.4.2_03/plugin/i386/ns610-gcc32/ inside /usr/lib/mozilla-firefox/plugins

Check all paths so they exist on your system! You're very close to resolving this.
Old 08-25-2004, 11:01 AM   #3
Registered: Apr 2004
Posts: 686

Original Poster
Rep: Reputation: 46
I managed to crash firefox so bad that I had to re-install.

I went to the firefox plugins directory, and found ""

#find /usr -name -print

the first find looked about right, so I did a link to that:

ln - s /usr/bin/j2re1.4.2_05/plugin/i386/ns610/


I reinstalled firefox, went back the pluggin directory, removed the link, here is what's left:

/usr/lib/mozilla-firefox/plugins# ls -l
total 24
drwxrwxr-x 8 root root 4096 2004-08-24 09:13 j2re1.4.2_05
-rw-r--r-- 1 root root 20176 2004-06-14 18:24

Now I'm at a loss again.

BTW: I am very unhappy with mozilla/firefox in this aspect. Must this be so difficult? Adding the java plugin to firefox on the windows side was a cinche. This is exactly the sort of thing that scares windows users away from F/OSS - especially linux.

Couldn't mozilla have at least have given decent instructions? As it is, mozilla's instructions are either incomplete, or completely wrong.
Old 08-25-2004, 04:39 PM   #4
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
You linked the wrong file:


ln -s /usr/bin/j2re1.4.2_05/plugin/i386/ns610-gcc32/ in the plugins directory of Firefox.

Sample from my system:
/usr/lib/mozilla-firefox/plugins$ ls -l

lrwxrwxrwx 1 root root **** -> /usr/share/java.current/plugin/i386/ns610-gcc32/

(java.current here is another symlink to the java folder for easy updating)

I do agree on the not so userfriendly part of this, but noobs should wait for Linspire and Xandros to evolve. I see to many issues a non-techy will never be able to solve. Ever tried to get lm-sensors working?
Old 08-27-2004, 09:49 AM   #5
Registered: Apr 2004
Posts: 686

Original Poster
Rep: Reputation: 46
That did it. Thank you.
Old 08-28-2004, 12:35 PM   #6
Registered: Mar 2002
Location: Studio City, CA
Distribution: Debian (Sarge-Sid)
Posts: 76

Rep: Reputation: 15
Next time, try the Debian Way :)

There is a "Debian Way" to install Java, even "non-free" versions (that is, ones that actually work ). It's in this hefty FAQ. The detailed installation instructions for the Sun JRE/SDK are in this section.

Last edited by Abject; 08-28-2004 at 12:39 PM.


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
free java, firefox and debian stimpsonjcat Linux - General 17 06-07-2005 02:31 PM
Trying to install java pluggin to firefox walterbyrd Linux - Software 7 03-21-2005 04:03 PM
installing Java on Firefox with Debian (I know, I've searched...) Panthroman Linux - Newbie 3 03-02-2005 01:13 AM
Having trouble with Java in Firefox laceupboots Linux - Software 0 10-17-2004 01:34 PM
Java pluggin and Mozilla 0.96 Will Linux - General 5 11-29-2001 10:28 AM > Forums > Linux Forums > Linux - Distributions > Debian

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration