title: Ionic Android Platform Build Failed
body: <p>Everytime i try to build my android platform on ionic I am greeted by the error stating that my JAVA_HOME is invalid whereas it points to the correct path as seen below. I have tried removing and re-adding the platform and re-adding the paths in the environment variables but nothing seems to work. I have been trying to troubleshoot this error for days now. Please help!</p>
  
  <p>Input: </p>
  
  <pre><code>ionic build android
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>[Error: Failed to run "java -version", make sure that you have a JDK installed.
  You can get it from: http://www.oracle.com/technetwork/java/javase/downloads.
  Your JAVA_HOME is invalid: C:\Program Files\Java\jdk1.7.0_75;
  ]
  ERROR building one of the platforms: Error: C:\myApp\platforms\android\cordova\b
  uild.bat: Command failed with exit code 2
  You may not have the required environment or OS to build this project
  Error: C:\myApp\platforms\android\cordova\build.bat: Command failed with exit co
  de 2
      at ChildProcess.whenDone (C:\Users\com\AppData\Roaming\npm\node_modules\cord
  ova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
      at ChildProcess.emit (events.js:98:17)
      at maybeClose (child_process.js:756:16)
      at Process.ChildProcess._handle.onexit (child_process.js:823:5)
  </code></pre>