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

Java-vm Mozilla plugin problems



I am running woody with Mozilla 0.9.5 - a few days ago, after failing to
install the java-vm from the netscape plugin I was redirected to, I
tried to download from Sun and then install myself following Sun's
instructions. 

I couldn't make it work, so I removed it altogether and by searching the
list archives, I installed with apt a proper deb from:

deb http://www.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/debian
woody non-free

so, now the plugin is properly installed and shows up correctly in
Mozilla's "About Plugins" as:

/usr/lib/j2re1.3/plugin/i386/mozilla/javaplugin_oji.so 

However, each time mozilla tries to load a java object, I get the
following:

$ 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]

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

but this comman just reurns the same output as printenv, without listing
the NPX_PLUGIN_PATH, so I assume that somehow that is already "inside"
Mozilla. If anyone has an idea of how to correct this, I would be very
grateful for advice.

For reference, output of "# locate javaplugin" follows:

/etc/alternatives/javaplugin.so
/etc/alternatives/javaplugin_oji-mozilla-0.9.1.so
/etc/alternatives/javaplugin_oji-mozilla-0.9.2.so
/etc/alternatives/javaplugin_oji-mozilla-cvs.so
/etc/alternatives/javaplugin_oji.so
/usr/lib/j2re1.3/lib/i386/libjavaplugin_jni.so
/usr/lib/j2re1.3/lib/javaplugin.jar
/usr/lib/j2re1.3/plugin/i386/mozilla/javaplugin_oji.so
/usr/lib/j2re1.3/plugin/i386/netscape4/javaplugin.so
/usr/lib/mozilla-0.9.1/plugins/javaplugin_oji.so
/usr/lib/mozilla-0.9.2/plugins/javaplugin_oji.so
/usr/lib/mozilla-cvs/plugins/javaplugin_oji.so
/usr/lib/mozilla/plugins/javaplugin.so
/usr/lib/mozilla/plugins/javaplugin_oji.so
/usr/lib/netscape/plugins-libc6/javaplugin.so
/var/lib/dpkg/alternatives/javaplugin.so
/var/lib/dpkg/alternatives/javaplugin_oji-mozilla-0.9.1.so
/var/lib/dpkg/alternatives/javaplugin_oji-mozilla-0.9.2.so
/var/lib/dpkg/alternatives/javaplugin_oji-mozilla-cvs.so
/var/lib/dpkg/alternatives/javaplugin_oji.so

Would the problem be that I am running mozilla-0.9.5 and links seem to
be pointing to 0.9.1 and 0.9.2?

Thanks in advance for any advice or help.

Tomasz



Reply to: