Hey master!
Yeah, Java can be tough sometimes, thanks to Sun
. It sounds like your JRE is broken, so we are better off starting fresh
. This happens really often when you download things from them, also thanks for Sun (yeah, been having some hard times with Sun...lol).
I'd recommend you deleting you deleting your jre folder and installing a new one:
1 - Remove JRE:
Code:
rm -rf /usr/local/java/j2sdk1.4.2_04/
2 - Download a new one from Sun's:
www.sun.com
Just don't download the .rpm, get .bin instead. You will have a hard time finding JRE in there, that site is even worse then Microsoft. Well, maybe because it's Sun
.
3 - Move that file to /usr/local.
Code:
mv j2re-xxxx.bin /usr/local
4 - Run the installer:
Code:
cd /usr/local/
./ j2re-xxxx.bin
5 - A directory at /usr/local called j2re-xxx will be created. Make a symlink to Mozilla's directory plugin:
Code:
ln -s /usr/local/jre-xxx/plugin/i386/ns610-gcc/libjavaplugin_oji.so /usr/local/mozilla/plugins
That hopefully will work. A few hints: I've noticed that you are using j2sdk. The Software Development Kit is only useful if you are going to program in Java. Otherwise, JRE will do and safe you some space
. Another thing is, sometimes, if you make a link to /home/<you>/.mozilla/plugins instead of Mozilla location, it might work. Don't asl me why, but I bet Sun's know
.
Good luck my friend!