How to enable Java plug-in in Redhat Linux?

Y

yongsing

I installed j2sdk1.4.2_03 on a Redhat Linux 9 machine. I presume that
the Java Plug-in would be installed as well, but when I open the
Mozilla browser and try to display an applet from Sun's web site, it
failed. The Java Console in the browser is disabled, so I'm guessing
that the plug-in is not installed or is not enabled. How do I get the
plug-in to work?

Thanks in advance.

Yong Sing
 
A

Andrew Thompson

yongsing said:
I installed j2sdk1.4.2_03 on a Redhat Linux 9 machine. I presume that
the Java Plug-in would be installed as well, but when I open the
Mozilla browser and try to display an applet from Sun's web site, it
failed. The Java Console in the browser is disabled, so I'm guessing
that the plug-in is not installed or is not enabled. How do I get the
plug-in to work?

This may not be the answer*, but it's worth a shot.

* I am using Moz. 1.3/Gecko/20030312 on XP.

Go to Edit | Preferences | Advanced and check that
'Enable Java' is enabled, the little checkbox is ticked.

HTH
 
G

Gregory A. Swarthout

I installed j2sdk1.4.2_03 on a Redhat Linux 9 machine. I presume that
the Java Plug-in would be installed as well, but when I open the
Mozilla browser and try to display an applet from Sun's web site, it
failed. The Java Console in the browser is disabled, so I'm guessing
that the plug-in is not installed or is not enabled. How do I get the
plug-in to work?

Thanks in advance.

Yong Sing

Some variation of:

ln -s /opt/local/jdk/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
/usr/local/mozilla/plugins/
 
K

Knute Johnson

yongsing said:
I installed j2sdk1.4.2_03 on a Redhat Linux 9 machine. I presume that
the Java Plug-in would be installed as well, but when I open the
Mozilla browser and try to display an applet from Sun's web site, it
failed. The Java Console in the browser is disabled, so I'm guessing
that the plug-in is not installed or is not enabled. How do I get the
plug-in to work?

Thanks in advance.

Yong Sing

You need to make a link in /usr/lib/mozilla-1.?/plugins directory to the
plugin which is in your Java directory tree. If you installed Java as
an rpm here are the command to make it work:

1) open a terminal
2) su to root
3) enter these commands

cd /usr/lib/mozilla-1.?/plugins

ln -s /usr/java/j2sdk1.4.2_03/jre/plugin/i386/
ns610_gcc32/libjavaplugin_oji.so

The ln command above should be on one line. Replace the question mark
with your mozilla version number (1.5, 1.2.1 ...). If it worked
correctly the link will appear light blue when you run the ls command.
If it is in red with a black background, it isn't pointing to the file.
You probably just mistyped it. If you have it correct it will work
immediately.
 
Y

yongsing

I have tried your suggestion (ns610_gcc32 should be ns610-gcc32 by the
way) and the link appear in cyan. However it doesn't seem to make any
difference. When I restarted Mozilla and visited a page with an applet
(I tried the applets at http://java.sun.com/applets/), the plugin
didn't load at all.
 
K

Knute Johnson

yongsing said:
I have tried your suggestion (ns610_gcc32 should be ns610-gcc32 by the
way) and the link appear in cyan. However it doesn't seem to make any
difference. When I restarted Mozilla and visited a page with an applet
(I tried the applets at http://java.sun.com/applets/), the plugin
didn't load at all.

Which version of mozilla are you running? Did you put the link in the
lib directory that corresponds to your version of mozilla?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top