Drag the project’s build.xml into the Ant window and Activate-Handset on
some build you’d like to see. When that’s done the required Eclipse
.classpath file should be generated and the errors in the Package
Explorer should disappear.
Note - in all likelihood, “javac” will need to be executable from your
command line for this to work.