[sclug] Java with Mozilla

Alex Butcher lug at assursys.co.uk
Tue Jan 20 08:57:26 UTC 2004


On Mon, 19 Jan 2004, Neil Haughton wrote:

> Can anyone tell me how to get Mozilla 1.5 to run java? I'm stumped.
> 
> I have the java runtime installed in /usr/java/j2re1.4.2_02/bin, and I 
> have a link in my mozilla directory (/usr/bin/mozilla1.5) that points to 
> it. Mozilla still insists that I need the 'java plugin' when it 
> encounters a page with an applet in it. I downloaded and installed (as 
> root) the suggested java 'plugin', but still no joy. I'm sure that there 
> used to be an option in Mozilla to enter the path to the java runtime, 
> but that seems to have disappeared.
> 
> Any ideas? Am I doing something silly?

I installed my Java plugin manually, essentially:

$ pwd
/usr/lib/mozilla-1.4/plugins
$ ls -Al
total 228
lrwxrwxrwx    1 root     root           37 Jun  9  2003 flashplayer.xpt -> /usr/lib/flash-plugin/flashplayer.xpt
lrwxrwxrwx    1 root     root           24 Jun  9  2003 java2 -> ../../../java/j2sdk1.4.1
lrwxrwxrwx    1 root     root           39 Jun  9  2003 libflashplayer.so -> /usr/lib/flash-plugin/libflashplayer.so
lrwxrwxrwx    1 root     root           67 Jun  9  2003 libjavaplugin_oji.so -> ../../../java/j2sdk1.4.1/jre/plugin/i386/ns610/libjavaplugin_oji.so
-rwxr-xr-x    1 root     root        25520 Jul  1  2003 libnullplugin.so
lrwxrwxrwx    1 root     root           38 Jun 26  2003 nppdf.so -> ../../../lib/netscape/plugins/nppdf.so
-rwxr-xr-x    1 root     root        50284 Mar 20  2003 nsdejavu.so
-r--r--r--    1 root     root         4139 Mar 13  2003 raclass.zip
-r-xr-xr-x    1 root     root       131580 Mar 13  2003 rpnp.so

note the symlinks heading off to the jdk installation directory.

If that doesn't work out for you,

a) the procedure has changed with moz 1.5/jdk 1.4.2
b) your moz is compiled with a different version of gcc to the jdk
c) you haven't done it right. ;-)

> Neil

Best Regards,
Alex.
-- 
Alex Butcher      Brainbench MVP for Internet Security: www.brainbench.com
Bristol, UK                      Need reliable and secure network systems?
PGP/GnuPG ID:0x271fd950                         <http://www.assursys.com/>


More information about the Sclug mailing list