On Mon, 15 Nov 2004 19:54:39 +0100, Hasse Hagen Johansen wrote:
Ser det rigtigt ud hvis du skriver about:plugins i location i firefox?
Fandt fejlen:
It needs to be symlinked. This is the exact problem that comes
up when it isn"t. The reason why it comes up like this has to
do with the plugin"s method of groping for the java_vm
executable.
When the plugin file is dlopen"d by Galeon/Mozilla, it tries to
figure out the location where it originally resided
(/opt/java/jre/plugin/i386/ns610/libjavaplugin_oji140.so on my
system). If it"s symlinked, it"s smart enough to figure that
out and trace down its original directory path (the path where
it first existed when j2re was installed). Otherwise it assumes
that it"s actually sitting in its original path (which is
usually wrong, but there"s not much else it can do).
Whatever it decides its original path is, it gropes for the
java_vm executable relative to that directory
path--"../../../bin/java_vm", to be exact. That means if you
copy the plugin to /usr/lib/mozilla/plugins instead of
symlinking it, it expects java_vm to be /usr/bin/java_vm.
Det var dog mere speget end som så. Jeg har symlink til java-plugin i
mozilla. Her havde jeg bare fået ændret fra et symlink til en kopi på
et eller andet tidspunkt:-( Er det ikke reelt en bug i mozilla(-firefox)??