title: Syntax error on ArrayList declaration
body: <p>I've got the following code:</p>
  
  <pre><code>import java.util.*;
  
  public class Group {
      public static void main(String[] args) {
      ArrayList&lt;Integer&gt; list = new ArrayList&lt;Integer&gt;();
      }
  }
  </code></pre>
  
  <p>Eclipse (3.0.0) complains about the ArrayList declaration: syntax error on token "(", on both tokens "&lt;", and then on token "=". I'm using java 1.5.0_07.</p>
  
  <p>What am I doing wrong?</p>
  
  <p>Thanks, regards, Miel.</p>