title: error: try-with-resources is not supported in -source 1.6
body: <p>I using Linux Debian 2.6.32-5-amd64.
  My version Eclipse: 4.2.0
  My version Java: jdk1.7.0_07</p>
  
  <p>When I build my project then I getting error:</p>
  
  <pre><code>[javac] &lt;myPath&gt;file.java:66: error: try-with-resources is not supported in -source 1.6
  [javac]         try(Scanner scanner = new Scanner(new File(path))){
  [javac]            ^
  [javac]   (use -source 7 or higher to enable try-with-resources)
  [javac] 1 error
  </code></pre>
  
  <p>I have Compiler compliance level set to 1.7. What is wrong? Were is the problem?</p>