title: Generating Java header file error
body: <p>Sorry for asking but I am having trouble generating a Java header file from my code - in command prompt I typed:</p>
  
  <pre><code>javah -o JNIDemoJava.h -classpath JNIDemoJava/build/classes jnidemojava.Main
  </code></pre>
  
  <p>From what I've read that should have worked but I get this error:</p>
  
  <pre><code>Error: Could not find class file for 'jnidemojava.Main'.
  </code></pre>
  
  <p>Before you say I forgot to clean and build to compile it I did, but I still have this error if you need more info just ask .</p>
  
  <p>Update: Problem was solved</p>