I have a problem that I have wasted 2 hours on tonight. Eclipse seems to be missing Java libraries or something. I am using the textbook "THE ART AND SCIENCE OF JAVA" to learn the Art. When I type in a program from the textbook line for line I get errors... When I import a package I get a message that " the import cannot be resolved." Google has been not much help aiding me in fixing this.

This happens with many different import commands that I try. I have downloaded and imported acm.jar in my Java Build Path in Preferences of Eclipse as per Google search and it kinda helped but when I create a new project and class I need to re-import and it is a pain in the ass. When it does work I then get another error message on line 2 of code, but the line 1 error disappears. That error can be seen in screenshot 4. I am lost!!! Please help LOL!

SCREENSHOT 1 entered the program text from textbook lots of errors
SCREENSHOT 2 cursor over line 1 error to show resolve issue

SCREENSHOT 3 acm.jar imported manually removes line 1 error but...
SCREENSHOT 4 cursor over line 2 shows another error

This happens with other packages I am trying to utilize as well.Screen Shot 2013-02-27 at 8.06.18 PM.jpgScreen Shot 2013-02-27 at 8.06.23 PM.jpgScreen Shot 2013-02-27 at 8.06.27 PM.jpgScreen Shot 2013-02-27 at 8.06.31 PM.jpg