At 09:05 AM 5/23/00 +0200, you wrote:
>    Hi!
>
>I have an application that communicates via the COM-ports and uses the
>SerialIO-Package
>which have a .dll-file, jspWin.dll, located in the Windows system
>directory.
>
>When I try to debug the application I get the message:
>
>"main[1] java.lang.UnsatisfiedLinkError: no jspWin in shared library
>path: Check that native library jspWin is in proper directory"
>
>Where do I setup this path ?
>

Unless the native libraries are in your app's startup directory, your
system's command path has to include the directories containing native code
libraries. Further, some versions of jdb expect you to provide a debug
version of the native code library named NLIB_g.dll where NLIB is the name
of the native library, e.g. jspWin_g.dll. I usually just make a copy of the
native library and rename it to include the suffix.

- Paul

Reply via email to