They just refer to code already in the classpath. Presumably the code that already uses JUnit has import statements (or fully qualified class names) referring to JUnit. The problem is when Java looks ...