I started using Ant, that ships with Eclipse. It annoys me, that I get hundreds of warnings in the lines of:
[javac] warning: java\\io\\BufferedInputStr
One additional thing you probably also need to do is to go under the JRE tab of the Edit Configuration window and select the JRE version.