Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Dependency Walker error: No DOS or PE signature found.

843829Feb 26 2010 — edited Feb 26 2010
Hi my JNI HelloWorld program kept throwing the error (unsatified link error) cannot find dependent libraries, at run time on the CMD.
I'm using visual studio 2005 as a compiler from the cmd and I have been following the compiling instructions of this website:

http://www.java-tips.org/other-api-tips/jni/simple-example-of-using-the-java-native-interface.html

So from the advice of some websites I used dependency Walker which throws the error: No DOS or PE signature found. This file is not a valid 32-bit or 64-bit Windows module

I would love some help in understanding and resolving this error :)

Note: I'm compiling the files on a 64-bit windows OS, and following the msdn tutorial on - How to: Enable a 64-Bit Visual C++ Toolset at the Command Line
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 26 2010
Added on Feb 26 2010
1 comment
5,864 views