LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-19-2006, 10:44 PM   #16
Syele
LQ Newbie
 
Registered: Feb 2006
Location: New Mexico
Distribution: Fedora Core 4
Posts: 17

Original Poster
Rep: Reputation: 0

I did, one of those three in step one said file not found. the other two just gave me a new prompt.

I restarted firefox.. but still not working.
 
Old 03-19-2006, 10:53 PM   #17
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
you did of coures substitute all names/paths as necessary right?

also, why did you do this:
Quote:
[root@localhost plugins]# ln -s /usr/jre-1_5_0_06/plugin/i386/ns7/libjavaplugin_oji.so .
ln: `./libjavaplugin_oji.so': File exists
[root@localhost plugins]# ln -s /usr/lib/firefox-1.0.4/plugins/jre-1_5_0_06/plugin/i386/ns7/libjavaplugin_oji.so .
ln: `./libjavaplugin_oji.so': File exists
it said to only do it once.. in the firefox plugin directory.

go to the firefox plugin directory. type 'ls -l'. it should give a long listing of the files in the folder, and you should notice the .so link file you made. delete that file/link, ie 'rm libjavaplugin_oji.so' in the *firefox plugin folder*, not the java one.

then try making the link again (with no firefox windows open), then open one and test.

also, please answer my questions from previous post.
 
Old 03-19-2006, 11:03 PM   #18
Syele
LQ Newbie
 
Registered: Feb 2006
Location: New Mexico
Distribution: Fedora Core 4
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nadroj
did you do step #1 in the instructions from the link i gave you, to remove previous plugins?
I did.. one of them said file not found the others just gave me a new prompt again.


Quote:
Originally Posted by nadroj
what distrobution are you using? you could use your package manager to update to the latest firefox, quite easily.
i typed some command that was supposed to tell me my distrobution -- it said "2.6.11-1.1369_FC4" I have no clue what that means.

Quote:
Originally Posted by nadroj
you did of coures substitute all names/paths as necessary right?
I wish I knew if I did it as necessary.. all I did is what I posted. I posted it because I don't get it.. I don't know what is supposed to go where. I MUST have done it wrong or it'd work???

Quote:
Originally Posted by nadroj
also, why did you do this:
Also, I did it cause I dont' know what I'm doing and just trying to figure it out as I go along. I figured file exists ment I couldn't do what I was trying to do because the file was already there. So I tried something else,
 
Old 03-19-2006, 11:07 PM   #19
Syele
LQ Newbie
 
Registered: Feb 2006
Location: New Mexico
Distribution: Fedora Core 4
Posts: 17

Original Poster
Rep: Reputation: 0
hmm I think I installed the Java thing in the firefox plugin folder.. I'm not clear on where a java plugin one is?
 
Old 03-19-2006, 11:11 PM   #20
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
that command that you used to get that output you couldnt understand would be an exerpt from the 'uname' command.. the FC4 means your running Fedora Core 4 as your distribution.
look around your GUI in system tools or something similar, for a 'package manager'. it will allow you to add/remove/update software isntalled on your computer. if you find the program, 'firefox' will be listed, and you should have the ability to 'update' it to a newer version.. try doing that first.

ok.. tell me the full path of where you installed the JRE.. and tell me the full path of where your firefox plugin folder is... DO you have a mozilla folder? try the find command to search for mozilla as well, and paste all that output too.

ill try and substitute to give you the exact commands
 
Old 03-19-2006, 11:22 PM   #21
Syele
LQ Newbie
 
Registered: Feb 2006
Location: New Mexico
Distribution: Fedora Core 4
Posts: 17

Original Poster
Rep: Reputation: 0
First I downloaded the file to:
/home/user/MyDownloads/jre-1_5_0_06-linux-i586.bin

then I set the permissions like #2 said.

in #3 it said to go to the directiory where I wanted to install it. so I went to my firefox plugin directory:
/usr/lib/firefox-1.0.4/plugins

I ran the self-extracting thing from there.

then I entered these commands.. right where I was:
rm -fr $HOME/.netscape/java
rm $HOME/.netscape/plugins/javaplugin.so
rm $HOME/.netscape/plugins/libjavaplugin.so

(one of them, I don't remember wich said the file didn't exist.)

then I did the commands I quoted earlier where it said file already exists.

I'm still currently hunting for that package manager.
 
Old 03-19-2006, 11:28 PM   #22
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
your package manager is called yum, click here to learn how to use it.

please provide answers to my questions.

what is the output of 'find / -name "mozilla', as root.

Quote:
in #3 it said to go to the directiory where I wanted to install it. so I went to my firefox plugin directory:
/usr/lib/firefox-1.0.4/plugins

I ran the self-extracting thing from there.
so you isntalled java somewhere under the firefox/plugins folder? what is the output of 'ls -l /usr/lib/firefox-1.0.4/plugins/'

also what is the output of 'ls -la ~/'
 
Old 03-19-2006, 11:43 PM   #23
Syele
LQ Newbie
 
Registered: Feb 2006
Location: New Mexico
Distribution: Fedora Core 4
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nadroj
what is the output of 'find / -name "mozilla', as root.
[root@localhost user]# find / -name "mozilla"
/usr/lib/mozilla
/usr/bin/mozilla
find: WARNING: Hard link count is wrong for /proc: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.


Quote:
Originally Posted by nadroj
so you isntalled java somewhere under the firefox/plugins folder?
I was in the firefox/plugins folder when I typed "/home/user/MyDownloads/jre-1_5_0_06-linux-i586.bin"
when I typed that I got the lisence and ToS and typed 'yes" in reponse to a question of weather I agreed.

Quote:
Originally Posted by nadroj
what is the output of 'ls -l /usr/lib/firefox-1.0.4/plugins/'
[root@localhost user]# ls -l /usr/lib/firefox-1.0.4/plugins/
total 36
drwxr-xr-x 7 root root 4096 Nov 10 15:17 jre1.5.0_06
lrwxrwxrwx 1 root root 55 Mar 19 19:44 libjavaplugin_oji.so -> /usr/java/jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so
-rwxr-xr-x 1 root root 20232 May 24 2005 libnullplugin.so
[root@localhost user]#

Quote:
Originally Posted by nadroj
also what is the output of 'ls -la ~/'
[root@localhost user]# ls -la ~/
total 376
drwxr-x--- 17 root root 4096 Mar 19 22:36 .
drwxr-xr-x 23 root root 4096 Mar 17 20:21 ..
-rw------- 1 root root 1589 Dec 11 09:38 anaconda-ks.cfg
-rw------- 1 root root 2507 Mar 19 22:35 .bash_history
-rw-r--r-- 1 root root 24 Dec 3 2004 .bash_logout
-rw-r--r-- 1 root root 191 Dec 3 2004 .bash_profile
-rw-r--r-- 1 root root 176 Dec 3 2004 .bashrc
drwxr-xr-x 3 root root 4096 Feb 17 17:13 .cddb
-rw-r--r-- 1 root root 100 Dec 3 2004 .cshrc
drwx------ 2 root root 4096 Feb 17 17:01 Desktop
-rw------- 1 root root 22 Feb 17 17:00 .dmrc
drwxr-x--- 2 root root 4096 Feb 17 17:01 .eggcups
-rw-rw-r-- 1 root root 0 Feb 22 15:08 .fonts.cache-1
drwx------ 2 root root 4096 Feb 17 21:35 .gaim
drwx------ 3 root root 4096 Feb 19 14:45 .gconf
drwx------ 2 root root 4096 Feb 19 14:46 .gconfd
drwx------ 4 root root 4096 Feb 17 21:36 .gnome2
drwx------ 2 root root 4096 Dec 11 09:13 .gnome2_private
drwxr-xr-x 2 root root 4096 Dec 11 09:12 .gstreamer-0.8
-rw-r--r-- 1 root root 120 May 22 2005 .gtkrc
-rw-r--r-- 1 root root 23108 Feb 17 17:14 .hxplayerrc
-rw------- 1 root root 0 Feb 17 21:36 .ICEauthority
-rw-r--r-- 1 root root 64837 Dec 11 09:38 install.log
-rw-r--r-- 1 root root 5582 Dec 11 09:38 install.log.syslog
drwxr-xr-x 4 root root 4096 Feb 17 17:01 .kde
drwx------ 3 root root 4096 Feb 17 17:01 .local
-rw-r--r-- 1 root root 105 Mar 19 21:11 .mailcap
drwxr-xr-x 3 root root 4096 Feb 17 17:01 .mcop
-rw-r--r-- 1 root root 230 Mar 18 21:11 .mime.types
drwxr-xr-x 3 root root 4096 Feb 17 17:06 .mozilla
drwxr-xr-x 2 root root 4096 Feb 17 17:00 .qt
-rw-r--r-- 1 root root 11 Feb 17 21:36 .rhn-applet.cache
-rw------- 1 root root 498 Feb 17 17:18 .rhn-applet.conf
-rw-r--r-- 1 root root 129 Dec 3 2004 .tcshrc
-rw------- 1 root root 66 Mar 19 22:24 .xauthbWHCEs
-rw------- 1 root root 66 Mar 19 22:36 .xauthzi5Ufp
drwx------ 3 root root 4096 Feb 17 21:27 .xchat2
[root@localhost user]#
 
Old 03-19-2006, 11:57 PM   #24
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
ok now that i know afew paths. lets try and clean up and start again.
ill try and substitute all paths so you can just type these commands.

#0
close all firefox/mozilla programs

#1
Code:
rm -fr $HOME/.mozilla/java
rm $HOME/.mozilla/plugins/javaplugin.so
rm $HOME/.mozilla/plugins/libjavaplugin.so
#2
youll need to be root to do the following. ill put an explanation after each line to describe what its doing.

Code:
rm -r /usr/lib/firefox-1.0.4/plugins/jre1.5.0_06
recursively delete the jre folder and its contents.. we'll put it someplace else.

Code:
rm /usr/lib/firefox-1.0.4/plugins/libjavaplugin_oji.so
remove the link you created and make it again later
Code:
cd /usr
'cd' to the /usr directory, this is the place where we'll install the jre

Code:
/home/user/MyDownloads/jre-1_5_0_06-linux-i586.bin
run the bin file, to be extracted in /usr/jre...etc..

accept the license and do whatever it says to install the jre.

#3
Code:
ln -s /usr/jre1.5.0_06/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins
ln -s /usr/jre1.5.0_06/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox-1.0.4/plugins/
#4
open firefox and test on some java site.

please give output at each stage.
if all of this doesnt work then i dont know what to tell you.

Last edited by nadroj; 03-20-2006 at 12:03 AM.
 
Old 03-20-2006, 01:15 AM   #25
Syele
LQ Newbie
 
Registered: Feb 2006
Location: New Mexico
Distribution: Fedora Core 4
Posts: 17

Original Poster
Rep: Reputation: 0
you are a saint putting up with me so long! thank you.

Now I no longer get the notice that I need to install the plugin when I go to java sites... but Nothing else happens either.

#0
I had a Firefox window open and didn't realize it until I was all done... Could this have messed it up?

#1
rm -fr $HOME/.mozilla/java (this gave me a new prompt)
rm $HOME/.mozilla/plugins/javaplugin.so (recieved a messege that the directory dosn't exist)
rm $HOME/.mozilla/plugins/libjavaplugin.so (this gave me a new prompt)


"recursively delete the jre folder and its contents.. we'll put it someplace else" I answered yes for what felt like infinity... but I recognized all the files it was deleting from when they installed before.

"remove the link you created and make it again later" This also asked for verification...


"'cd' to the /usr directory, this is the place where we'll install the jre

Code:

/home/user/MyDownloads/jre-1_5_0_06-linux-i586.bin

run the bin file, to be extracted in /usr/jre...etc..

accept the license and do whatever it says to install the jre."

Appeared to install properly.

#3
what I did:
Done.
[root@localhost usr]# cd /usr/lib/firefox-1.0.4/plugins/
[root@localhost plugins]# ln -s /usr/jre1.5.0_06/plugin/i386/ns7/libjavaplugin_oji.so .
[root@localhost plugins]# cd /usr/lib/mozilla/plugins
[root@localhost plugins]# ln -s /usr/jre1.5.0_06/plugin/i386/ns7/libjavaplugin_oji.so .
ln: `./libjavaplugin_oji.so': File exists
[root@localhost plugins]# ln -s /usr/jre1.5.0_06/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins
ln: `/usr/lib/mozilla/plugins/libjavaplugin_oji.so': File exists
[root@localhost plugins]# ln -s /usr/jre1.5.0_06/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox-1.0.4/plugins/
ln: `/usr/lib/firefox-1.0.4/plugins//libjavaplugin_oji.so': File exists
[root@localhost plugins]#


that "File Exists" thing again.. Did I screw it up again?
 
Old 03-20-2006, 07:29 AM   #26
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
When you installed FC4, you likely got both of these:

/usr/lib/mozilla
/usr/lib/mozilla-1.7.8

You can verify either with a GUI file manager such as Konquerer or from the terminal with:

find -name 'mozilla*' (Note that the * is wildcard.)

A link to the Java plugin needs to be made in /usr/lib/mozilla-1.7.8/plugins.

As root:

cd /usr/lib/mozilla-1.7.8/plugins
ln -s /usr/jre1.5.0_06/plugin/i386/ns7/libjavaplugin_oji.so .

Close Mozilla if it's open and restart. In Mozilla, go to Edit -> Preferences -> Advanced -> Enable Java

When you issued the following commands:

cd /usr/lib/firefox-1.0.4/plugins/
ln -s /usr/jre1.5.0_06/plugin/i386/ns7/libjavaplugin_oji.so .

You ended up with the following (note the double slash):

/usr/lib/firefox-1.0.4/plugins//libjavaplugin_oji.so

Still as root issue the following:

rm /usr/lib/firefox-1.0.4/plugins//libjavaplugin_oji.so
cd /usr/lib/firefox-1.0.4/plugins
ln -s /usr/jre1.5.0_06/plugin/i386/ns7/libjavaplugin_oji.so .

Close and restart Firefox. In Firefox, go to Edit -> Preferences -> Advanced. Check or verify checked the box next to Enable Java.

To check your JRE install, http://www.java.com/en/download/installed.jsp. Click on the Verify Installation button. If you don't get this message, "CONGRATULATIONS, you have the Latest version of Java!" something didn't work.

In the terminal, still as root, type the following:

yum upgrade java*

Follow the directions. This will update JRE 1.4.2 which I have noted, some programs still need.

Good luck. It's really not as hard as it seems.
 
  


Reply


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
Plug ins and Firefox Veteq Linux - Newbie 2 11-26-2005 11:51 PM
Need help with Firefox java plug-in m_lp_ql_m Linux - Software 12 05-10-2005 02:51 AM
Quicktime plug-in for Firefox Lasker Linux - Software 2 05-06-2005 05:43 PM
Java Plug-in for FireFox chinaundead Linux - Software 2 03-22-2004 06:34 AM
Java plug in HwzrHlslndr Linux - General 10 06-20-2003 04:52 PM


All times are GMT -5. The time now is 10:57 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration