Eclipse's internal Ant implementation cannot find javac
This one is very frustrating. You want to run Ant inside of Eclipse. Your build.xml is valid, it finds the .properties file
alright, but whenever you run Ant (right click the build.xml file and choose 'Ant Run'), it fails to compile because it cannot
find the javac command.
In Eclipse, Window > Preferences expand the Ant node on the menu on the left.
Now choose 'Runtime' from the expanded node.[Screenshot]
Click on 'Add JARs...'
Browse the path to your Java installation directory, go the the lib directory and choose the tools.jar file.
Click 'Apply' and 'OK' to close the window.
Creating the directory structure specified in class for the assignments is confusing
Eclipse refuses to automatically add classes and cooperate with you when you try
to use it to create the class directory structure. If you create packages using
the name harvard.cscie162.yourname inside the src/java
folder, Eclipse insists to name the class' package
src.java.harvard.cscie162.yourname instead.
Look at my tutorial on creating the directory structure.
Eclipse does not find the libraries you are using
You are trying to code and Eclipse works great with the standard Java classes but complains that other classes that you know are on your system, do not exist and marks them as errors.
You need to add the class libraries (.jar files)
to the Eclipse project. This is how to do that.