title: Linux ./configure won't detect java or javac
body: <p>I'm trying to install a library in Linux that has bindings for Java.<br>
  As such, I used <code>apt-get install</code> to get both the java jdk 6 and 7.
  However, when I run the configure, I keep getting this message and the library doesn't install what it needs for java.</p>
  
  <pre><code>checking which interfaces are enabled... cxx c ocaml java
  checking for javac... no
  checking for java... no
  checking for jar... no
  checking for javah... no
  configure: WARNING: unable to include &lt;jni.h&gt;
  </code></pre>
  
  <p>From the command line, both java and javac work.
  I'm not sure what else to do.  Any guidance?
  Thanks.</p>
  
  <p>Edit:  This is on an Ubuntu setup.  Not sure where the Debian keyword came from.</p>