Preparations

Read http://www.cs.swarthmore.edu/~newhall/unixhelp/debuggingtips_Java.html up to including the The CLASSPATH environment variable and JAR files section.