title: IDEA: javac: source release 1.7 requires target release 1.7
body: <p>When running a JUnit test, using IntelliJ IDEA, I get</p>
  
  <p><img src="https://i.stack.imgur.com/C50eY.png" alt="enter image description here"></p>
  
  <p>How can I correct this?</p>
  
  <ul>
  <li>Using SDK 1.7</li>
  <li>Module language level is 1.7</li>
  </ul>
  
  <p>Maven build works fine. (That's why I believe this in IDEA configuration issue)</p>