[4049] in java-interest
System.loadLibrary() problem
daemon@ATHENA.MIT.EDU (Clinton Combs)
Fri Dec 8 12:12:02 1995
Date: Fri, 8 Dec 1995 10:23:25 -0500
From: Clinton Combs <ccombs@ucs.att.com>
To: java-interest@java.sun.com
Reply-To: ccombs@ucs.att.com
What's the story w/ System.loadLibrary and Netscape? I'm running
Netscape 2.0 Beta 3 on SunOS and have written an applet that uses
a class containing some native methods. I've built the native
implementation as well as the Java "stub" class, but when Netscape
loads my applet it can't find my shared library.
I've included the directory where my library is in my LD_LIBRARY_PATH
and even tried putting it in my PATH variable. But to no avail! I
still get "# Applet exception: error: java.lang.UnsatisfiedLinkError:
no libjavaAK.so.1.0 in shared library path". Note: I've tried
specifying the library as javaAK, libjavaAK, and libjavaAK.so.1.0 and
none of these work. What am I doing wrong?
Also, here's one I haven't researched to much so it may be easy...
How does one force Netscape to reload an Applet. Pressing the Reload
button doesn't seem to do it. At best you get a new copy of the HTML,
but no new applet. Restarting netscape is really time consuming during
debugging.
Thanks,
Clint
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com