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

Re: Java-vm Mozilla plugin problems



dman <dsh8290@rit.edu> writes:

> On Thu, Dec 06, 2001 at 06:38:07PM -0500, Tomasz Kosinski wrote:
> 
> | I am guessing that this error comes from followed Sun's instructions and
> | created the environmental variable: 
> | 
> | export NPX_PLUGIN_PATH=<jre>/plugin/i386/ns4
> | 
> | I have tried removing the environmental variable with 
> |  env --unset=NPX_PLUGIN_PATH
> 
> 
> Where did you put the "export" command?  If it is in your ~/.bashrc or
> /etc/bashrc you can just remove it.  To get rid of it in the current
> shell only,
> 
> export NPX_PLUGIN_PATH=
> 
> should work.
> 

[...]

Thanks, but with export NPX_PLUGIN_PATH=, I still get the same error:

$ export NPX_PLUGIN_PATH=

$ 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 

so now, results of

# locate javaplugin.so
/etc/alternatives/javaplugin.so
/usr/lib/j2re1.3/plugin/i386/netscape4/javaplugin.so
/usr/lib/mozilla/plugins/javaplugin.so
/usr/lib/netscape/plugins-libc6/javaplugin.so
/var/lib/dpkg/alternatives/javaplugin.so

At this point, I no longer get the error message: 

$ LoadPlugin: failed to initialize shared library

but the plugin still doesn't work - java still doesn't load on java
pages.

Any suggestions? Thanks,

Tomasz



Reply to: