junit cannot find class
问题 I am able to run the sample tests supplied with junit (from any directory). I would think that this suggests my installation of junit is perfectly fine. I assume, to compile a junit test, it is no different from any other java file, namely: javac fileName.java My test file (.java and resulting .class) lives in: c:\parent\child. Obviously, in order to compile the .java file, I have a package statement on the first line: package parent.child followed by the all-important: import junit.framework