title: fatal error: jni.h: No such file or directory
body: <p>I'm trying to recreate this tutorial on Windows:
  <a href="http://www3.ntu.edu.sg/home/ehchua/programming/java/JavaNativeInterface.html" rel="nofollow">Java Native Interface (JNI)</a></p>
  
  <p>When I try to compile it I get the following error:</p>
  
  <pre><code>fatal error: jni.h: No such file or directory
  
   #include &lt;jni.h&gt;
  
  compilation terminated.
  </code></pre>
  
  <p>My command line is:</p>
  
  <pre><code>gcc -Wl,--add-stdcall-alias -IC:\Program_Files\Java\jdk1.7.0_45\include -IC:\Program_Files\Java\jdk1.7.0_45\include\win32 -shared -o hello.dll HelloJNI.c
  </code></pre>
  
  <p>I compile in the folder where all the files are. </p>
  
  <p>I am sure that the file "jni.h" in this folder is located:</p>
  
  <pre><code>C:\Program Files\Java\jdk1.7.0_45\include
  </code></pre>
  
  <p>Does anyone know why the import statement does not work?</p>
  
  <p>Thanks!</p>