I have a strange problem with Eclipse Galileo. I set Java 1.6 as my JRE. On this line of code
List templates = new ArrayList ();
I see
Did you name your class list? i.e:
import java.util.*; public class List { // can't do this, name this something else. public static void main(String[] args) { List l = new ArrayList(); } }