LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-26-2005, 05:38 PM   #1
cool hat
LQ Newbie
 
Registered: Jun 2004
Location: St. Paul, MN
Posts: 29

Rep: Reputation: 15
Cool jre link to browser problem


GREETINGS,
I was finally able to install Sun's JRE-1.5.0.04 Version of java onto a computer running Ferdora Core 3. I was able to link Openoffice to it also. The problem is this... when I made a plug in link to Firefox I first use the link commands for an earlier version of Mozilla then a later version of Mozilla and finally to Firefox. I have Java enabled , but Java does not work. Firefox tells me I need to add the plugin manually. Can anyone help ?
http://hotpepperman.gotdns.com:1900/ZeusControl.html
http://hotpepperman.gotdns.com:1900/ZeusControl.html

Last edited by cool hat; 08-26-2005 at 05:41 PM.
 
Old 08-26-2005, 05:49 PM   #2
timcharper
Member
 
Registered: May 2005
Location: Utah
Distribution: Fedora Core 4
Posts: 36

Rep: Reputation: 15
hmm, i'm not sure what you did to link in the old virtual machine, but for me it was:

cd ~/.mozilla/plugins/
ln -s /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so

then, I restarted firefox, and it worked like a charm
 
Old 08-26-2005, 06:42 PM   #3
cool hat
LQ Newbie
 
Registered: Jun 2004
Location: St. Paul, MN
Posts: 29

Original Poster
Rep: Reputation: 15
jre not linking to browser

Issue the following command: ln -s /usr/java/jre1.5.0_03/plugin/i386/ns7/libjavaplugin_oji.so ./libjavaplugin_oji.so

The above command is what I tried. I installed it in /home/ directory not /usr/ and made the change. Could my other links to older Mozilla versions cause a problem?
 
Old 08-26-2005, 08:42 PM   #4
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
How about... /usr/lib/jre
1.5.0_03/plugin/i386/ns7/libjavaplugin_oji.so That's where it should be.
 
Old 08-26-2005, 08:49 PM   #5
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Quote:
Originally posted by timcharper
hmm, i'm not sure what you did to link in the old virtual machine, but for me it was:

cd ~/.mozilla/plugins/
ln -s /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so

then, I restarted firefox, and it worked like a charm
Have you tried what timcharper had suggested? Here is where I have my symlink for java located for Mozilla.

/usr/lib/mozilla/plugins

KC
 
Old 08-27-2005, 07:44 AM   #6
cool hat
LQ Newbie
 
Registered: Jun 2004
Location: St. Paul, MN
Posts: 29

Original Poster
Rep: Reputation: 15
Yes I tried what was suggested. I noticed I have these folders , but no information in them.
/usr/lib/java-1.5.0
/usr/lib/java-1.3.0
/usr/lib/java-1.3.1
/usr/lib/java-1.4.0
/usr/lib/java-1.4.1
/usr/lib/java-1.4.2
This is the location of the installed jre /home/cheryl/java/jre1.5.0_04

Last edited by cool hat; 08-27-2005 at 07:45 AM.
 
Old 08-27-2005, 12:21 PM   #7
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
OK, this may help or not; again, here is the Symlic I created inside /usr/lib/mozilla/plugins

lrwxrwxrwx 1 root root 58 Jul 23 11:00 libjavaplugin_oji.so -> /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so*

The key is to locate this file:

libjavaplugin_oji.so

and Link it to your FireFox Plugins directory wherever that may be... Like I said mine (I use Mozilla is here:

/usr/lib/mozilla/plugins

So if your plugins for firefox are located here:
/usr/lib/firefox/plugins

and your libjavaplugin_oji.so is locatede here:
/home/cheryl/java/jre1.5.0_04

Then in root:

cd /usr/lib/firefox/plugins <enter>
ln -s /home/cheryl/java/jre1.5.0_04/libjavaplugin_oji.so <enter>

Hope this clearifies a little

KC
 
Old 08-27-2005, 12:59 PM   #8
cool hat
LQ Newbie
 
Registered: Jun 2004
Location: St. Paul, MN
Posts: 29

Original Poster
Rep: Reputation: 15
Unhappy

I see what the goal is now and I have not been using the exact location of the (libjavaplugin_oji.so )file, but
with all of the correct directories used I get ( ln: `./libjavaplugin_oji.so': File exists) . Do I now have a problem with permissions not allowing write? Owner ( root ) does have write permission.
 
Old 08-27-2005, 01:20 PM   #9
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Ok, so it's probably because you have some other invalid links already there that are pointing in the wrong place... you can use rm to delete the link but first if you can give us a listing of your plugins directory... Then we can see what's exactly in their...

KC
 
Old 08-27-2005, 07:12 PM   #10
cool hat
LQ Newbie
 
Registered: Jun 2004
Location: St. Paul, MN
Posts: 29

Original Poster
Rep: Reputation: 15
/usr/lib/firefox-1.0.6/plugins/ns7-gcc29
/usr/lib/firefox-1.0.6/plugins/ns7
/usr/lib/firefox-1.0.6/plugins/libnullplugin.so
/usr/lib/firefox-1.0.6/plugins/libjavaplugin_oji.so

This is what is there. Thanks for you help. I wondered if I made a bad link by not really knowing what I was doing. I might need a hand in using the delete command. At one point I was told I have mail after performing a link command. Was that something I had done. I don't even have this computer running as a server. I also am not clear on what application will read mail. I tried (gedit) but no soap. This is where it said my new mail was while logged in as root . . /var/spool/mail
 
Old 08-27-2005, 10:06 PM   #11
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Sorry was not clear enough... do an:

ls -l

to get the full listing like this:

lrwxrwxrwx 1 root root 58 Jul 23 11:00 libjavaplugin_oji.so -> /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so*

This will tell you the actual file name... It is most likely "libjavaplugin_oji.so" but it is possible to give symlinks other names and we want to make sure... You will want to delete the file before the (->) witch only shows where the link is followed...

In the case of the example above I would remove the symlink like this...

rm -f libjavaplugin_oji.so

It belongs to root so I must enter "su" mode before I can do this...

Remember your not deleting anything realy but just a link so don't worry to much about it...

KC
 
Old 08-27-2005, 10:37 PM   #12
cool hat
LQ Newbie
 
Registered: Jun 2004
Location: St. Paul, MN
Posts: 29

Original Poster
Rep: Reputation: 15
total 32
lrwxrwxrwx 1 root root 21 Aug 25 23:00 libjavaplugin_oji.so -> /libjavaplugi n_oji.so
-rwxr-xr-x 1 root root 16304 Jul 20 11:54 libnullplugin.so
lrwxrwxrwx 1 root root 34 Aug 25 22:57 ns7 -> /usr/java/jre1.5.0/plugin/i386 /ns7
lrwxrwxrwx 1 root root 40 Aug 25 23:07 ns7-gcc29 -> /usr/java/jre1.5.0/plugi n/i386/ns7-gcc29
[root@localhost plugins]#
What should I delete ? Thanks for your help.
 
Old 08-27-2005, 10:43 PM   #13
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
lrwxrwxrwx 1 root root 21 Aug 25 23:00 libjavaplugin_oji.so -> /libjavaplugi n_oji.so

OK, this indicates that the your actual file is located in /libjavaplugi n_oji.so

so:

rm -f libjavaplugin_oji.so

then:

make your link with the correct path to your file...which I still don't know where in your case..

KC
 
Old 08-27-2005, 11:23 PM   #14
cool hat
LQ Newbie
 
Registered: Jun 2004
Location: St. Paul, MN
Posts: 29

Original Poster
Rep: Reputation: 15
What do ya know it works.
I can now work my site with Linux for the 1st time ever! Tried before but jre installing and browser linking just seemed too complicated at the time. I learned a lot this time around, so thanks for your help.
P.S. How hard is it to fetch mail from /var/spool/mail ?
http://hotpepperman.gotdns.com:1900/ZeusControl.html

Last edited by cool hat; 08-27-2005 at 11:31 PM.
 
Old 08-28-2005, 12:35 AM   #15
krosch
LQ Newbie
 
Registered: Aug 2005
Location: Duluth Mn
Distribution: Fedora (for now maybe longer)
Posts: 6

Rep: Reputation: 0
Alright I am having a similar problem though its possible I have not even installed the java plugin like I thought. Hmm I don't even know where to go from here to describe my problem.

I followed the directions on the sun java download area and everything seemed to work until I go to the linking part. But I am not certain how to check whether the java is installed or if when I attempted to create the link it made a bad link. or heck who knows maybe even I made a good link and something else is wrong.

I am running Fedora Core 4 and Mozilla Firefox.
 
  


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
Firefox browser and jre problem anindyanuri Linux - Software 17 10-31-2005 09:29 PM
How to link JRE with Mozilla Firefox Jerel Linux - Software 10 07-24-2005 09:13 AM
Java (JRE 1.5.0_02) - Symbolic Link Problem pacranch Amigo 1 04-14-2005 05:37 AM
Browser Link Question PensJunkie Linux - Newbie 2 02-11-2005 10:53 PM
vsftpd - Cannot resolve symbolic link in browser chpchai Linux - Networking 13 05-26-2004 11:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:33 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
Open Source Consulting | Domain Registration