title: Error:compileSdkVersion android-21 requires compiling with JDK 7
body: <p>While compiling i get the error <code>Error:compileSdkVersion android-21 requires compiling with JDK 7</code>, saying that a newer version of JDK is required.</p>
  
  <p>I'm running on OS X Yosemite with Android Studio v0.8.14</p>
  
  <p>Things I checked : </p>
  
  <ol>
  <li>Java version :</li>
  </ol>
  
  <p><code>java version "1.8.0_25"
  Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
  Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)</code></p>
  
  <ol start="2">
  <li><p>Inside the JavaVirtualMachine folder I can see only <code>1.6.0.jdk</code> folder, I cannot find any other folder.</p></li>
  <li><p>Tried reinstalling JDk 8 and 7!</p></li>
  </ol>
  
  <p>I'm unable to find the folder location of jvm 1.8, any idea how I can fix there.</p>