title: The JAVA_HOME environment variable is not set
body: <p>I'm trying to make my first app using Phonegap and I got this while running in command </p>
  
  <pre><code>C:\USERS\KTR\DESKTOP\PHONEGAP\LIB\ANDROID\BIN&gt;create C:\Users\KTR\Desktop\Demoap
  p com.example.Demoapp Demoapp
  The JAVA_HOME environment variable is not set.
  Set JAVA_HOME to an existing JRE directory.
  Remember to also add JAVA_HOME to the PATH variable.
  After updating system variables, open a new command window and retry.
  </code></pre>
  
  <p>Any help would be greatly appreciated 
  Thank you </p>