title: Error: Requirements check failed for JDK 1.8 or greater for ionic 2.1.8
body: <p>I have just updated my local machine setup and now config of it is as -</p>
  
  <hr>
  
  <pre><code>******************************************************
  
  Your system information:
  
  Cordova CLI: 6.4.0 
  Ionic CLI Version: 2.1.8
  Ionic App Lib Version: 2.1.4
  ios-deploy version: Not installed
  ios-sim version: 5.0.8 
  OS: OS X Yosemite
  Node Version: v6.2.2
  Xcode version: Xcode 7.2 Build version 7C68
  
  
  
  ******************************************************
  </code></pre>
  
  <p>Now i am getting error when i build for android (ionic build android) as-   </p>
  
  <p>Error: Requirements check failed for JDK 1.8 or greater</p>
  
  <p>Need help!!!</p>