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 |
try
whereis libjavaplugin_oji.so from a terminal |
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 :D ) |
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 |
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 :D can you see why I'm getting frustrated? |
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/ |
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. :D |
thats really strange. I don't know, it's there but mozilla doesn't see it. I dunno, try reinstalling jre
|
All times are GMT -5. The time now is 04:34 AM. |