title: How to use javah
body: <p>I've just wasted 2 hours trying to do something which I've already done twice before. I can't remember the exact procedure I used the previous two times, but it really shouldn't be giving me this much trouble:</p>
  
  <p>I have a project folder called "BoardGUIv3". I want to produce a header file based on a class called "CANController", with the source located in "BoardGUIv3/src/model" and the class file in "BoardGUIv3/bin/model".</p>
  
  <p>I've done exactly this thing before, but for some reason I can't seem to do this simple, one-line command again.</p>
  
  <p>I'm pretty sure it's something along the lines of</p>
  
  <pre><code>javah -classpath &lt;classpath&gt; src/model/CANController
  </code></pre>
  
  <p>My classpath should just be the root directory, shouldn't it?</p>