Fix Java main class detection; only look for class files in the submission directory.