title: Java, JNI and C++: How do I generate a header file from native method declarations?
body: <p>Java, JNI and C++: How do I generate a header file from native method declarations?</p>
  
  <p>I have Java project, which communicates with C++ code through JNI.
  The challenge is now I need to add new methods. I first started by declaring
  the native methods in the java code. Now I need to regenerate the header file
  for the JNI methods. I work in Eclipse, not sure how to do this.</p>