javah is used to produce C header files from a Java class. The generated header files are used to interact Java and C code.

Java Code:
javah -jni HeloWorld
In the above example, HelloWorld is Java class file.
The option used in the exampe (-jni) causes javah to create an output file containing JNI-style native method function prototypes.