title: JDK not found on Debian 8.5
body: <p>I want to make a python-android-app using <a href="https://github.com/renpytom/rapt-pygame-example" rel="nofollow">this software</a>. I have installed java JDK, when i run <code>java -version</code> i get:</p>
  
  <pre><code>java version "1.8.0_91"
  Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
  Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)
  </code></pre>
  
  <p>However running the line <code>python android.py installsdk</code> from witin rapt directory (as described in the tutorial) tells me that i have no JDK:</p>
  
  <pre><code>I'm compiling a short test program, to see if you have a working JDK
  on your system.
  
  
  I was unable to use javac to compile a test file. If you haven't
  installed the Java Development Kit yet, please download it from:
  
  http://www.oracle.com/technetwork/java/javase/downloads/index.html
  
  The JDK is different from the JRE, so it's possible you have Java
  without having the JDK. Without a working JDK, I can't continue.
  </code></pre>