LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   bad java link to firefox (https://www.linuxquestions.org/questions/linux-newbie-8/bad-java-link-to-firefox-376182/)

cool hat 10-23-2005 07:57 PM

bad java link to firefox
 
I have a plugin link to an older version of Firefox that I think I need to remove. I made a new link from the new version of Firefox to my Java Runtime Enviroment, but it no worky. Thank you in advance for any light you can shed on this.
http://hotpepperman.gotdns.com:1900/ZeusControl.html

IBall 10-23-2005 08:06 PM

So you made a link to the jre in the Firefox plugins directory:
Code:

ln -s /path/to/j2re/plugin/ns7/libjavaplugin_oji.so /path/to/firefox/plugins
?

--Ian

cool hat 10-23-2005 09:42 PM

I did this . . .
ln -s /home/cheryl/java/jre1.5.0_04/plugin/i386/ns7/libjavaplgin_oji.so
from the Firefox plugin directory.

IBall 10-24-2005 06:17 AM

What is the output of "ls -l" in the Firefox plugins directory?

Does the plugin show up in "about:plugins" in Firefox itself?

--Ian

cool hat 10-24-2005 09:04 PM

/usr/lib/firefox-1.0.7/plugins/libjavaplgin_oji.so
This was not in plugins folder before I followed above commands.
I also see the same here . .
/usr/lib/firefox-1.0.6/plugins/libjavaplgin_oji.so
from the 1st time I tried to make the link.

IBall 10-25-2005 02:14 AM

I think that you may be linking to the wrong file: The link seems to be pointing to the firefox plugins directory, rather than the actual jave plugin.

Otherwise, the output of ls -l should look something like this:
Code:

ls -l /usr/lib/firefox/plugins
lrwxrwxrwx  1 root root    39 2005-06-23 10:41 libjavaplugin.so -> /usr/lib/java/plugin/ns7/libjavaplugin_oji.so

The above is from my computer, the paths on yours may be different.

I hope this helps
--Ian

cool hat 10-25-2005 07:14 PM

I tried to reverse the above command and I get the message file exsist. How can I delete bad link and start again ?

IBall 10-26-2005 12:35 AM

Just delete it using rm. You will need to be root.

What do you mean by "reverse the above command".

--Ian

jrdioko 10-26-2005 01:25 AM

It looks like you need a destination for the ln command. Try:

Code:

ln -s /home/cheryl/java/jre1.5.0_04/plugin/i386/ns7/libjavaplgin_oji.so .
from the Firefox plugins directory. The "." at the end stands for your current directory.


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