title: cordova build android > check failed for JDK 1.8
body: <p>I am following <a href="https://www.tutorialspoint.com/cordova/cordova_first_application.htm" rel="nofollow noreferrer">this tutorial</a> on building a Cordova application. I get to the part that where I'm supposed to build, and in powershell (I'm on Windows 10) I type <code>cordova build android</code> and I repeatedly get this error:</p>
  
  <pre><code>ANDROID_HOME=C:\Android
  JAVA_HOME=C:\Program Files\java\jdk-9.0.1
  Error: Requirements check failed for JDK 1.8 or greater
  </code></pre>
  
  <p>I realize this question has been asked here before, but those answers do not seem to apply to me.</p>
  
  <h2>Things I've tried:</h2>
  
  <ul>
  <li>Uninstalling and reinstalling JDK 9</li>
  <li>Installing JDK 8 with JDK 9 installed</li>
  </ul>