>>>>> Reinhold Pschierer writes:

    Reinhold> I installed JavaPlugIn_1.2.2.px.sh on my SuSe 6.3. The
    Reinhold> problem is, than any JAVA-2-applet i tryed to run
    Reinhold> crashes Netscape. Netscape quits without message (I
    Reinhold> tryed with JavaControlPanel and some of my own
    Reinhold> JAVA2-Applets all with the same effect). I straceīd
    Reinhold> Netscape and this told me, that Netscape was trying to
    Reinhold> get some data (eg. Java VM) from Netscapeīs
    Reinhold> home-directory \opt\netscape.

    Reinhold> 3095  stat("/usr/bin/jdk1.2.2/jre/lib", {st_mode=S_IFDIR|0755, 
st_size=1024, ...}) = 0
    Reinhold> 3095  open("/usr/bin/jdk1.2.2/jre/lib/", 
O_RDONLY|O_NONBLOCK|O_DIRECTORY)       = 27
    Reinhold> 3110  execve("/opt/netscape//java/bin/java_vm_native", 
["java_vm_native"], [/* 52 vars */]) = -1 ENOENT (No such file or directory)
    Reinhold> 3110  stat("/home/reinhold/.netscape/bookmarks.html", 
{st_mode=S_IFREG|0600, st_size=2502, ...}) = 0


    Reinhold> Therefore on another SuSe 6.3 machine, on which I have
    Reinhold> superuser-rights, I installed the PlugIn twice, first
    Reinhold> the normal way at ~/.netscape and a second time to
    Reinhold> /opt/netscape in order to satisfy the according
    Reinhold> requests. After this procedure all worked fine, but
    Reinhold> first, I canīt do it on the first system, on which I
    Reinhold> donīt have superuser-access and second, this isnīt a
    Reinhold> clean solution.

    Reinhold> Did I make anything wrong?

No, you've found a bug: In order to find java_vm* the plugin parses
NPX_PLUGIN_PATH and uses the first directory for which '../java'
exists -- this is not really clever :-( I'll fix that for the next
release.

In the meantime: Make sure that '<first directory on NPX_PLUIN_PATH
for which ../java exits>/../java' contains the plugin: E.g. if you
have installed plugin into $(HOME)/.netscape then set NPX_PLUGIN_PATH
to $(HOME)/.netscape/plugins:....


        Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to