Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-09-2006, 03:50 AM   #1
LQ Newbie
Registered: Feb 2005
Posts: 3

Rep: Reputation: 0
Firefox 1.5 and JRE, how to fix symlink?

I'm new to linux and Mandriva, and I'm simply trying to get JRE to work after installing Firefox 1.5

I tried the "click to install" method, and upon closing browser and reopening, it still did not work. I downloaded and installed JRE manually, following the instructions correctly I think, and it still does not work.

The Firefox plugin dir is at

and its present contents:

lrwxrwxrwx 1 myusername myusername 67 Jan 8 04:47 -> /usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32/
-rwxr-xr-x 1 myusername myusername 19224 Nov 11 20:00*

$ which java

$ find / -iname

$ ls -al /home/myusername/firefox1.5/firefox/plugins/
lrwxrwxrwx 1 myusername myusername 67 Jan 8 04:47 /home/myusername/firefox1.5/firefox/plugins/ -> /usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32/

$ ls -al /home/myusername/
lrwxrwxrwx 1 myusername myusername 68 Jan 9 03:20 /home/myusername/ -> /usr/local/bin/java/jre1.5.0_05/plugin/i386/ns7/

I've found various and contradictory instructions about what to type to make the symlink work, and I think I just need to change a path somewhere, though it seems that I can't remove or edit the existing one.

The syntax I think is
ln -s (path of something, not sure what) (path of something, not sure what) (space) (dot)

I'm not completely new to bash shell commands, but haven't used symlinks, and using a gui in linux is entirely new to me. I'm just not getting this
Old 01-09-2006, 04:20 AM   #2
Registered: Aug 2005
Location: China
Distribution: redhat(Fedora Core)->Debian Sid->Slackware
Posts: 91

Rep: Reputation: 15
check out my /opt/firefox/plugins/ :
[zhyfly]@[zhy2fly][/opt/firefox/plugins](0)$ls -l                                           
total 20
lrwxrwxrwx  1 zhyfly zhy    58 2005-12-11 20:27 -> /opt/java/jre1.5.0_06/plugin/i386/ns7/*
-rwxr-xr-x  1 zhyfly zhy 19224 2005-11-12 09:00*
and for the symlink of jre I think you should type the command:
#ln -s /opt/java/jre1.5.0_06/plugin/i386/ns7/ /opt/firefox/plugins/
just take mine for example, and you can solve the problem according to your situation.
Old 01-09-2006, 04:21 AM   #3
LQ 5k Club
Registered: Oct 2003
Location: Australia
Distribution: Devuan
Posts: 5,476

Rep: Reputation: Disabled
/pathway to where I put java/jre1.5.0_05/plugin/i386/ns7-gcc29/target plugin

shows up a link to /home/myname/firefox/plugins/ file

means (1) home dir you name is correct
and (2) I have a more recent JRE but older compiler

(3) I created link using KDE Konqueror mouse control here

(4) java was installed with root powers
Old 01-09-2006, 04:25 AM   #4
Registered: Aug 2005
Location: Germany
Distribution: Ubuntu, Debian
Posts: 189

Rep: Reputation: 31
Originally Posted by sunlion
lrwxrwxrwx 1 myusername myusername 67 Jan 8 04:47 -> /usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32/
Actually this path does not exist because of:
Originally Posted by sunlion
$ find / -iname
How does this library landed in your home-directory and nowhere else, it should be in (java-install-path)/jre/plugin/i386/ns7 or so? How did you installed java? -It seems to me, that it is installed wrong or at least broken. I would try this again and memory the destination folder to where you install it.

But to redierct a link in common you type (for a link: link->old-linked-path):
rm link
ln -s new-linked-path link

Maybe you have to become root first, if you are forced due permissions.

Last edited by Flesym; 01-09-2006 at 08:11 AM.


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
JRE in Firefox dalponis Linux - Software 2 01-07-2006 11:23 PM
firefox 1.0.4 / jre 1.4.1_02 undef00 Linux - Software 7 08-11-2005 06:18 PM
FC4, Firefox 1.0.4 and JRE 1.4.2 webwolf70 Fedora 11 06-19-2005 02:13 PM
jre blips out Firefox dfowensby Fedora 1 01-26-2005 02:48 AM
Firefox and JRE merchtemeagle Linux - Newbie 3 10-17-2004 10:37 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:28 PM.

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