Re: UnsatisfiedLinkError Problem
- From: Roedy Green <look-on@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 29 Aug 2005 21:48:27 GMT
On 26 Aug 2005 09:57:09 -0700, MrFredBloggs@xxxxxxxxxxx wrote or
quoted :
>I am writing a small application using NetBeans 4.1. The application
>relies in part on some IBM jar files which refer to a dll that is in
>the same directory. When I run the application I get a
>UnsatisfiedLinkError because the application can't find the dll.
You, or whomever uses the native classes in it has to explicitly load
it. the dll has to be on the library path.
See http://mindprod.com/jgloss/jni.html
This is one of the most frustrating features of JNI. So often the
system just can't seem to find the DLLs and you can't for the life of
you figure out why. Then suddenly like a rainbow in the sky, it starts
to work.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
.
- References:
- UnsatisfiedLinkError Problem
- From: MrFredBloggs
- UnsatisfiedLinkError Problem
- Prev by Date: Re: Get command line directory from java
- Next by Date: Re: Batch file params
- Previous by thread: UnsatisfiedLinkError Problem
- Next by thread: Batch file params
- Index(es):
Relevant Pages
|