title: Eclipse: no JREs installed in the workspace strictly compatible with the environment
body: <p>I created a <strong>Maven</strong> project by using <strong>Eclipse Kepler</strong> as IDE.</p>
  
  <p>I configure the <code>pom.xml</code> properties as follows:</p>
  
  <pre><code>&lt;properties&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
      &lt;java.version&gt;1.7&lt;/java.version&gt;
  &lt;/properties&gt;
  </code></pre>
  
  <p>I'm using the <strong>JDK 1.8</strong> on <strong>Mac OS X 10.9.4 Maverics</strong>: this version may support also the previous <strong>1.7</strong>, as shown below:</p>
  
  <p><img src="https://i.stack.imgur.com/r2Ytz.png" alt="Build path"></p>
  
  <p>Despite that, Eclipse gives me a warning:</p>
  
  <pre><code>Build path specifies execution environment JavaSE-1.7. There are no JREs installed in the workspace that are strictly compatible with this environment. 
  </code></pre>
  
  <p>Usually this warning could be resolved as described <strong><a href="https://stackoverflow.com/questions/3138384/java-warning-build-path-specifies-execution-environment-j2se-1-4">here</a></strong>, but in this case the procedure doesn't work (because the JRE 1.7 is already selected).</p>
  
  <p>Perhaps, I should also install on my system a <em>pure</em> version of JDK 1.7, but the installer returns me an error as follows:</p>
  
  <p><img src="https://i.stack.imgur.com/bnEGt.png" alt="JDK Installer"></p>
  
  <p>Is there a way to resolve this issue?</p>