Did you try LD_LIBRARY_PATH? That seems to work for my JNI + C
application.
Mo DeJong
dejong at cs.umn.edu
On Wed, 10 Mar 1999, John Fisher wrote:
>
> I've just installed jdk1.2 for Linx (yea!!), but am having some problems
> with using JNI, related to finding my shared library. Things were working
> fine under 1.1.7, so I'm guessing something has changed in the way that
> shared libraries are searched for. Here's the error:
>
> ====================================
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no rediscript in
> java.library.path
> at java.lang.ClassLoader.loadLibrary(Compiled Code)
> at java.lang.Runtime.loadLibrary0(Compiled Code)
> at java.lang.System.loadLibrary(Compiled Code)
> at com.redi.server.REDIServer.<clinit>(REDIServer.java:47)
> ====================================
>
> So I guess the question is - what is java.library.path, and how do I define
> it appropriately?
>
> Thanks,
> John
>
>
>
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]