This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
jni test case question/ linking
- From: "Andreas Tobler" <toa at pop dot agri dot ch>
- To: java at gcc dot gnu dot org
- Date: Wed, 19 Feb 2003 08:24:35 +0100
- Subject: jni test case question/ linking
Morning,
I have an understanding question.
Here I run the test:
andreast% ./field
Exception in thread "main" java.lang.UnsatisfiedLinkError: field: file not
found
<<No stacktrace available>>
Does the call System.loadLibrary ("field"); assume that it is an .so
file?
Or may I have some PATH settings to adjust?
I run this on darwin, where .so = .dylib.
The point is, do I have to add the ability to load .dylib files in java?
Thx,
Andreas