Hi, On Tue, Feb 9, 2010 at 7:25 AM, Andreas Lehmkuehler <[email protected]> wrote: > Obviously it isn't good enough to just configure my eclipse project as > java 1.5 compliant. :-(
Yep, I hit that problem all the time. The language level setting only affects language features (generics, etc.) but no the standard library. You need to point Eclipse to a Java 5 JDK so you only have access to the correct library version. You can do that either in the "Java Build Path" part of project properties or (like I do) in "Java / Installed JREs" of the global preferences (this only affects new Eclipse projects). BR, Jukka Zitting
