JAVA Plugin Won't Work
Robert G. (Doc) Savage
dsavage at peaknet.net
Mon Dec 15 03:19:28 UTC 2003
On Sun, 2003-12-14 at 18:28, Dave Krick wrote:
> I am fairly new to Linux, and I can't seem to get Java to work. I've
> downloaded the plugin and followed the registration instructions, all to
> no avail. I've checked that my preferences have it enabled and I've
> gone in as root to a web site that I know uses it and, when prompted if
> I want to download it, I've said yes and, after doing it's thing, it
> tells me that it was downloaded and installed okay. I'll restart
> Mozilla and it still won't recognize Java.
>
> I'm running Fedora Core 1 and Mozilla 1.6. I had the same situation
> with Mozilla 1.5 and 1.4. I have Fedora updated to the latest status.
>
> I would really appreciate it if anyone has any suggestions for me. If
> you do, please be detailed in any command line instructions.
Dave,
Here's a micro-howto I use. It includes instructions for either J2
Runtime Edition or J2 System Developer's Kit. Pick one.
Download latest J2RE or J2SDK from http://java.sun.com
1. $ chmod +x j2re-1_4_2_02-linux-i586-rpm.bin
$ chmod +x j2sdk-1_4_2_02-linux-i586-rpm.bin
2. $ ./j2re-1_4_2_02-linux-i586-rpm.bin
$ ./j2sdk-1_4_2_02-linux-i586-rpm.bin
3. $ su -
Password: ********
4. # rpm -ivh j2re-1_4_2_02-linux.i586.rpm
# rpm -ivh j2sdk-1_4_2_02-linux.i586.rpm
5. # cd /usr/lib/mozilla/plugins
6. # ln -s /usr/java/j2re1.4.2_02/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
# ln -s /usr/java/j2sdk1.4.2_02/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
7. # ls -l
total NNNN
...
lrwxrwxrwx 1 root root 72 Dec 2 06:46 libjavaplugin_oji.so -> /usr/java/j2sdk1.4.2_02/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
...
That's it.
--Doc Savage
Fairview Heights, IL
More information about the users
mailing list