You are forced to compile the class with javac to get the headers.
The command consists of three parts.
-h is the directory where the headers go.
-d is the directory where classes go.
Finally comes the source file.
So new javah built inside javac works like this:
javac.exe -h C:/output/file_headers -d C:/output/classes C:/src/HelloC.java