I'm going through the
JNI Tutorial on Sun's Website. I'm on
step 5 and I can't seem to get the C file compiled into a DLL. I understand that this isn't really a
Java question, but I'm not a C guy, I have nowhere else to go, and I encountered this problem in the midst of a Java tutorial, so...
Can someone tell me how to compile the C file into a DLL? I'm entering the following on the command line:
And I get the following error:
I copied stdio.h into the same folder as my Java, header, and C files. But, it still gives me this error. Can anyone help?