The first question is to sort out what directory you're in (i.e., what's "."?). For what it's worth, I've now got all 140 of my sophomores working with Gradle, wherein you lay out your files in a standardized setup and then you can just type something cute like gradlew test and it will compile your code to a separate "build" directory and then run all your unit tests for you, reporting the failures. Very slick.