Java Program can not load JNI Library

Joined
Apr 11, 2011
Messages
3
Reaction score
0
Hi...
I am writing a simple application to call c++ code from java and for this i created a dll file in visual studio but when i try to run program fails to load JNI libaray.
both Main.class and dll are in same folder.

Error:
java.lang.unsatisfiedLinkedError
MyLib.dll can not load IA 32 bit .dll on AMD 64 bit platform.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top