PDA

View Full Version : JAVA no worky!



magicfan241
02-16-2004, 11:26 AM
Well, I got java installed, but now it does not work.

I also had the browsers (Mozila & Firefox) download their updates. First, Firebird places all of its plugins in a folder labeled plugins, but the program looks for a folder labeled plugin. Fixed that error. Now I don't get anything, no little box that says you need a plug in, or anything. It just refuses to load.

HELP!
I'm using FC1, Firefox 0.8

magicfan241

rshepard
02-16-2004, 11:36 AM
Did you do the following:


* Open a terminal
* Change to your Firefox plugins directory
* Issue the following command: ln -s /usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

magicfan241
02-16-2004, 12:13 PM
Yep!

Now I am getting the following error:



[magicfan241@localhost firefox]$ ./firefox
LoadPlugin: failed to initialize shared library /home/magicfan241/firefox/firefox/plugins/java2/plugin/i386/ns600/libjavaplugin_oji.so [libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory]



The file they are pointing to is there, but it does not seem to recognise that the file exists. I also tried running it as root, but I got the same results

I am confused, and one step from going back to win98. At least that worked.

magicfan241

Darkness Productions
02-16-2004, 12:24 PM
You probably have this module, but a newer version. Check in your /usr/lib directory for libstd (can be done via ls -la libstd*). Chances are, you have a .2-2 version..Create a symlink from the .2-2 version to the .1-1 version, and start firefox.

magicfan241
02-16-2004, 01:17 PM
Well, I did everything you said. Here is everything I have now:



[root@localhost lib]# ls -la libstd*
-rwxrwxrwx 1 root root 1144368 Feb 16 12:46 libstdc++-2-libc6.1-1-2.9.0.so [I] I downloaded this file for the library{/I]
lrwxrwxrwx 1 root root 30 Feb 16 12:55 libstdc++-libc6.1-1.so.2 -> libstdc++-2-libc6.1-1-2.9.0.so [I] This is the symlink I created [I]
lrwxrwxrwx 1 root root 18 Feb 1 17:46 libstdc++.so.5 -> libstdc++.so.5.0.5
-rwxr-xr-x 1 root root 739636 Oct 23 13:26 libstdc++.so.5.0.5



Well, now instead of getting the endless repeating "You need to install Java errors", I am now having all of the Java stuff dissapeared! It does not show anything.

magicfan241

magnav0x
02-16-2004, 01:43 PM
Patience young grass hopper. The change over from Windows to Linux can be quite fustrating at first, you just have to stick with it.

magicfan241
02-17-2004, 03:41 PM
Well, no I'm getting a different error:

Unable to connect to UNIX socket /tmp/.esd/socket


well, I think I'm going to find out how to bitch at the firefox people......


magicfan241