This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes JNI Error....  :( please help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JNI Error....  :( please help" Watch "JNI Error....  :( please help" New topic

JNI Error.... :( please help

s mahen perera
Ranch Hand

Joined: Mar 08, 2005
Posts: 101
Hi ,

I am using JNI to call a C method from java. I get the following error when running the program. Please help...

java.lang.UnsatisfiedLinkError: C:\WINDOWS\system32\foo.dll: %1 is not a valid Win32 application
I agree. Here's the link:
subject: JNI Error.... :( please help
Similar Threads
JNI in solaris (urgent)
How to create dll in JNI ?
JNI - FindClass