This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]