LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-25-2005, 04:14 PM   #1
fnshman
LQ Newbie
 
Registered: Aug 2005
Location: Maine
Distribution: FC4
Posts: 5

Rep: Reputation: 0
Question java errors


OK-----Newbie here----first and foremost, my system.
AMD Athlon64 3000
MSI K8N Neo4 PCIE mobo
Radeon X300 PCIE Video
512 MB dual channel pc3200 ram
Fedora Core 4 x86_64
80gig SATA drive
Updated Firefox 1.0.6
Jre 1.5.0_04 i586 installed
Jre 1.5.0_04 amd64 installed
I installed the 32 bit first because somewhere on the Sun site it said 32 bit versions had to be installed first.
I created sym link in the firefox plugin directory, and checked to be sure link was not broken.
firefox continuously tells me java is not installed.
I ran firefox -jsconsole from terminal and get an error telling me the /usr/java/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so :no such file or directory
I have checked the spelling and case of the file and the sym link and they match the the one in the error.
I am getting pretty frustrated, I have reinstalled and started over twice.
WHAT AM I MISSING---------Please Help
 
Old 08-25-2005, 04:15 PM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
try
whereis libjavaplugin_oji.so

from a terminal
 
Old 08-25-2005, 05:20 PM   #3
fnshman
LQ Newbie
 
Registered: Aug 2005
Location: Maine
Distribution: FC4
Posts: 5

Original Poster
Rep: Reputation: 0
OK----typed whereis libjavaplugin_oji.so in terminal.
got
libjavaplugin_oji :
assuming that means no output.
so what do I do now, the file is there, the sym link is there, but obviously it can't be found.
(just to check the output I tried another file and it gave the location and file name )
 
Old 08-25-2005, 05:25 PM   #4
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
hmm, no you need the location of the file. try
slocate libjavaplugin_oji.so

if slocate throws an error, type updatedb
then slocate libjavaplugin_oji.so


it's prob going to be
/opt/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so

then to link it, if this is the right location
ln -s /opt/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji
 
Old 08-25-2005, 06:27 PM   #5
fnshman
LQ Newbie
 
Registered: Aug 2005
Location: Maine
Distribution: FC4
Posts: 5

Original Poster
Rep: Reputation: 0
Here is the terminal output.

[root@localhost fnshman]# updatedb
[root@localhost fnshman]# slocate libjavaplugin_oji.so
/usr/java/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so
/usr/java/jre1.5.0_04/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
/usr/lib64/firefox-1.0.6/plugins/libjavaplugin_oji.so
[root@localhost fnshman]# firefox -jsconsole
LoadPlugin: failed to initialize shared library /usr/java/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so [/usr/java/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so: cannot open shared object file: No such file or directory]
LoadPlugin: failed to initialize shared library /usr/java/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so [/usr/java/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so: cannot open shared object file: No such file or directory]
[root@localhost fnshman]#

As you can see, all files are present and acounted for, at least for slocate.
Firefox can't seem to find the actual file, but you'll notice the sym link is pointing to the right location.
/usr/lib64/firefox-1.0.6/plugins/libjavaplugin_oji.so is the sym link location, but you knew that
can you see why I'm getting frustrated?
 
Old 08-25-2005, 06:41 PM   #6
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
if you're frustrated already, you're going to be in big trouble.

try
rm /usr/lib64/firefox-1.0.6/plugins/libjavaplugin_oji.so

then
cp /usr/java/jre1.5.0_04/plugin/i386/ns7-gcc29/libjavaplugin_oji.so /usr/lib64/firefox-1.0.6/plugins/
 
Old 08-25-2005, 07:22 PM   #7
fnshman
LQ Newbie
 
Registered: Aug 2005
Location: Maine
Distribution: FC4
Posts: 5

Original Poster
Rep: Reputation: 0
No luck-----still get the same "no such file or directory" error.
What do I try next?
I am getting to know my directory tree real well.
 
Old 08-25-2005, 07:36 PM   #8
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
thats really strange. I don't know, it's there but mozilla doesn't see it. I dunno, try reinstalling jre
 
  


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
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 03:13 AM
your-freedom.net software giving errors with java learner@new Linux - Software 2 01-10-2006 02:26 AM
java errors when installing jedit precision Linux - Software 1 11-27-2005 06:33 PM
a few errors while installing java Andrus Linux - Newbie 3 08-21-2005 08:03 PM
FreeWRL1.07 Install - java class errors adhara Linux - Software 0 09-01-2004 01:26 AM


All times are GMT -5. The time now is 01:58 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