title: Execution failed for task ':compileJava'. > invalid source release: 1.7
body: <p>I am using :</p>
  
  <ol>
  <li>gradle-2.3  </li>
  <li>javac -version = 1.7  </li>
  <li>jre = 1.7  </li>
  <li>regedit shows it is pointing to 1.7.</li>
  </ol>
  
  <p>But I am still getting below error </p>
  
  <blockquote>
    <p>Execution failed for task ':compileJava'. > invalid source release: 1.7</p>
  </blockquote>
  
  <p>Please let me know how to fix it.</p>