Re: JNI java.lang.UnsatisfiedLinkError with found DLL
- From: Roedy Green <my_email_is_posted_on_my_website@xxxxxxxxxxxxxx>
- Date: Tue, 11 Apr 2006 19:33:27 GMT
On 11 Apr 2006 07:16:56 -0700, "Jörgen Persson" <jrpe99@xxxxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :
This error is not because it cannot find the DLL, which I have verified
by renaming it, there is something else.
The DLL is created in a Win32 Project using Microsoft Visual Studio
2005.
Are there windows version considurations when creating a DLL for JNI?
is the DLL binary the identical in both cases?
Keep in mind case sensitivity. I suggest renaming the dll to all
lower case. all the way through, not just the final file.
In a pinch try load vs loadlibrary. Screwy stuff going way back
happened I never could figure out meant one would work but not the
other.
See the gotchas at http://mindprod.com/jgloss/jni.html#LOADLIBRARY
In a pinch, you can use JAWS and put the DLL in the jar.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.
- References:
- JNI java.lang.UnsatisfiedLinkError with found DLL
- From: Jörgen Persson
- JNI java.lang.UnsatisfiedLinkError with found DLL
- Prev by Date: Re: scientific calculator
- Next by Date: Re: JNI java.lang.UnsatisfiedLinkError with found DLL
- Previous by thread: Re: JNI java.lang.UnsatisfiedLinkError with found DLL
- Next by thread: Re: JNI java.lang.UnsatisfiedLinkError with found DLL
- Index(es):
Relevant Pages
|