DZone Forums
Go Back   DZone Forums > Community > Languages & Frameworks > Java
Reload this Page Jni dll hell
Notices
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Nov 2009
Question Jni dll hell - 11-02-2009, 06:56 AM

Unable to load native library: Can't find dependent libraries

I tried to run the sample project with Caffeine (Java-.NET interop framework). I was constantly getting an error „unable to find dependent libraries“ when the execution was about to load the JVM.

The dependency walker shows that jvm.dll is missing a function in mpr.dll (similar to dwmapi.dll problem frequently mentioned on the internet). Is it that loading jvm.dll forces loading of all dependent dlls, not using delayload-ing?

Or am I doing something wrong? I tried to run JNI as a simple native C++ project as well but I had the same problem.

Thanks a lot!

Artur
Reply With Quote
Reply

Tags
.net, dll, error, java, jni

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com