title: Where should I set version of java in IntelliJ IDEA?
body: <p>What is the difference between setting java language version in IntelliJ IDEA in</p>
  <ol>
  <li>File -&gt; project Structure -&gt; Project</li>
  <li>Run -&gt; Edit configuration -&gt; Build and run</li>
  <li>setting <code>java.version</code>, <code>maven.compiler.source</code>, <code>maven.compiler.target</code> in <code>pom.xml</code></li>
  </ol>