[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Java-vm Mozilla plugin problems



--- Tomasz Kosinski <mickle@escape.com> (2001-12-07 15:00):
> $ mozilla &
> [1] 11534
> $ LoadPlugin: failed to initialize shared library
> /usr/local/share/java/jre1.3.1_01/plugin/i386/ns4/javaplugin.so
> [/usr/local/share/java/jre1.3.1_01/plugin/i386/ns4/javaplugin.so: cannot
> open shared object file: No such file or directory]
> 
> [1]+  Done                    mozilla
> 
> Not finding the variable in any bashrc, I tried: 
> 
> grep -r NPX /usr/lib/mozilla
> grep: /usr/lib/mozilla/plugins/javaplugin.so: No such file or directory
> 
>   -rw-r--r--    1 root     root         2363 Oct 30 15:00 ShockwaveFlash.class
>   lrwxrwxrwx    1 root     root           63 Dec  3 22:49 javaplugin.so -> /usr/local/share/java/jre1.3.1_01/plugin/i386/ns4/javaplugin.so
>   lrwxrwxrwx    1 root     root           35 Dec  5 19:06 javaplugin_oji.so -> /etc/alternatives/javaplugin_oji.so
>   -rw-r--r--    1 root     root       947992 Oct 31 08:27 libflashplayer.so
>   -rw-r--r--    1 root     root        19080 Nov 21 05:24 libnullplugin.so
> 
> After discovering that javaplugin.so points to a non-existent directory,
> I manually changed the link to
>  
> /usr/lib/j2re1.3/plugin/i386/netscape4/javaplugin.so 
                               ^^^^^^^^^
I think this is where the problem is, mozilla is trying to load a
netscape plugin, where you really only want the mozilla java plugin.
I'd remove the javaplugin.so link and leave only javaplugin_oji.so.
I've only got javaplugin_oji.so in my mozilla plugins directory, and
I've had no problems with java pages so far. 

Cheers,
Sean

-- 
Sean Quinlan (smq@gmx.co.uk)



Reply to: