title: JAVA_HOME is invalid (cordova) error
body: <p>I have been experiencing this error for the past 7 days. I have researched various helps online but all to no avail:</p>
  
  <p>I am using windows 10, 4gb RAM, 32 bit.</p>
  
  <p><strong>(node:2240) UnhandledPromiseRejectionWarning: CordovaError: Failed to run "javac -version", make sure that you have a JDK installed. 
  You can get it from: <a href="http://www.oracle.com/technetwork/java/javase/downloads" rel="nofollow noreferrer">http://www.oracle.com/technetwork/java/javase/downloads</a>. Your JAVA_HOME is invalid: C:\Program Files\Java\jdk1.8.0_172</strong></p>
  
  <p>What should I do?</p>