You need to add the location of the class you're trying to test (and all its dependencies) to the classpath...