title: Gradle 3.3 requires Java 7 or later to run. You are currently using Java 6
body: <p>Android studio showing me this error
  error:Gradle 3.3 requires Java 7 or later to run. You are currently using Java 6.</p>
  
  <p>while I am using Java 8 in my SDK
  <a href="https://i.stack.imgur.com/56Fyo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/56Fyo.png" alt="enter image description here"></a></p>