For the first part of the question
Suspect that it is just an issue of adding the jar file to the classpath.
Try the following in eclipse
Right Click of project -> properties ->
Java build path -> Libraries -> Add external jars -> Order and Export -> select All -> ok.
To stop running when there are compilation errors do the following
Window -> Preference -> Java -> Compiler - change the settings on the right tab as required.