title: typesafe installation: JDK not installed or found, even if they are
body: <p>I have JDK (both 1.7.0.3 and 1.8.0) installed. I have added path <code>C:\Program Files\Java\jdk1.7.0_03\bin</code> or <code>C:\Program Files\Java\jdk1.8.0</code> alternately and also have added system variable <code>JAVA_HOME</code> with <code>C:\Program Files\Java\jdk1.7.0_03</code> or  <code>C:\Program Files\Java\jdk1.8.0</code> respectively.</p>
  
  <p>I have downloaded typesafe activator with play, and extracted it in my <code>C:\</code> drive. Then when I try to run it by <code>activator.bat</code> or by command <code>activator ui</code> from CMD the following error(s) are shown:</p>
  
  <pre><code>C:\activator-1.0.13&gt;activator ui
  '"C:\Program Files\Java\jdk1.8.0\bin\java.exe" -version 2&gt;&amp;1' is not recognized
  as an internal or external command,
  operable program or batch file.
  '"C:\Program Files\Java\jdk1.8.0\bin\javac.exe" -version 2&gt;&amp;1' is not recognized
   as an internal or external command,
  operable program or batch file.
  
  A Java JDK is not installed or can't be found.
  JAVA_HOME = "C:\Program Files\Java\jdk1.8.0"
  
  Please go to
    http://www.oracle.com/technetwork/java/javase/downloads/index.html
  and download a valid Java JDK and install before running Activator.
  
  If you think this message is in error, please check
  your environment variables to see if "java.exe" and "javac.exe" are
  available via JAVA_HOME or PATH.
  </code></pre>
  
  <p>I am using MS Windows 7.</p>
  
  <p>Additional information:</p>
  
  <pre><code>C:\activator-1.0.13&gt;javac -version
  javac 1.8.0
  
  C:\activator-1.0.13&gt;java -version
  java version "1.8.0"
  Java(TM) SE Runtime Environment (build 1.8.0-b132)
  Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
  
  C:\activator-1.0.13&gt;activator ui
  '"C:\Program Files\Java\jdk1.8.0\bin\java.exe" -version 2&gt;&amp;1' is not recognized
  as an internal or external command,
  operable program or batch file.
  '"C:\Program Files\Java\jdk1.8.0\bin\javac.exe" -version 2&gt;&amp;1' is not recognized
   as an internal or external command,
  operable program or batch file.
  
  A Java JDK is not installed or can't be found.
  JAVA_HOME = "C:\Program Files\Java\jdk1.8.0"
  
  Please go to
    http://www.oracle.com/technetwork/java/javase/downloads/index.html
  and download a valid Java JDK and install before running Activator.
  
  If you think this message is in error, please check
  your environment variables to see if "java.exe" and "javac.exe" are
  available via JAVA_HOME or PATH.
  </code></pre>