Click to See Complete Forum and Search --> : Java VM
hysterical
04-26-2004, 11:44 AM
Hi, I'm trying to install Java VM on redhat 9.
I've followed various threads from different forums and still can't seem to get it working.
Ive installed j2re-1_4_2_04-linux-i586.bin to the /usr/java directory and placed the libjavaplugin_oji.so file in my firefox directory but everytime i try to view a page using java i get a pop up saying you need to install x-java-vm on your machine.
Does anyone know what im doing wrong? Thanks for any help.
AdamZ
04-26-2004, 12:00 PM
I believe you need to make a link to the file, rather than actually putting the file in the plugins directory:
In the mozilla plugins directory:
ln -s /usr/java/blablabla/libjavaplugin_oji.so libjavaplugin_oji.so
lamatop
04-26-2004, 12:07 PM
Note that there is two plugins in your jdk -
.../java/jre/plugins/i386/ns610/libjavaplugin_oji.so
and
.../java/jre/plugins/i386/ns610-gcc32/libjavaplugin_oji.so
The former is compiled with GCC 2.9x
The latter is compiled with GCC 3.2x
Newer Mozilla versions use the gcc32 one.
This is a common pitfall!
hysterical
04-26-2004, 12:12 PM
I have a link to /usr/java/j2re1.4.2_04/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
in /usr/lib/firefox/plugins
but still get the pop up message?
lamatop
04-26-2004, 12:32 PM
try putting the link in ~/.mozilla/plugins instead.
Also, in firefox type in the URL :
about:plugins
and tell us what you've got.
hysterical
04-26-2004, 12:47 PM
ok i tried it in ~/.mozilla/plugins
and the firefox directory in /home/admin/firefox/plugins
neither made a difference
about:plugins keeps shutting firefox down
hysterical
04-26-2004, 01:37 PM
Hey I still have mozilla 1.2.1 installed could this be causing the problem, as im trying to get java to work in firefox? If so how do I go about uninstalling it.