How to fix '<>'operator is not allowed for source level 1.7
<p>I am using JDK 1.8.0. When I import the code into Eclipse I am getting the error:</p>

<blockquote>
  <p>'&lt;>'operator is not allowed for source level 1.7</p>
</blockquote>

<p>Example:</p>

<pre><code>List&lt;String[]&gt; errors = new ArrayList&lt;&gt;();
</code></pre>

<p>I am using <strong>Eclipse Kepler</strong>.</p>