title: unresolved inclusion in the java header in JNI
body: <p>This is my java file for which i wanted to generate a header file using javah for an android opencv application.</p>
  
  <pre><code>package com.hosa;
  
  public class edgejava{
  static{
      System.loadLibrary("edgejava");
  }
  public native int main(``);
  }
  </code></pre>
  
  <p>The generated header file is as below.</p>
  
  <pre><code>/* DO NOT EDIT THIS FILE - it is machine generated */
  #include &lt;jni.h&gt;
  /* Header for class com_hosa_edgejava */
  
  #ifndef _Included_com_hosa_edgejava
  #define _Included_com_hosa_edgejava
  #ifdef __cplusplus
  extern "C" {
  #endif
  /*
  * Class:     com_hosa_edgejava
  * Method:    main
  * Signature: ()I
  */
  JNIEXPORT jint JNICALL Java_com_hosa_edgejava_main
  (JNIEnv *, jobject);
  
  #ifdef __cplusplus
  }
  #endif
  #endif
  </code></pre>
  
  <p>the eclipse is pointing out that inclusion of jni.h in the header file is unresolved.
  what are the steps to be taken to solve this????</p>
  
  <p>regards,
  srijith</p>