This is a followup to http://issues.apache.org/bugzilla/show_bug.cgi?id=40682 When junit4.jar is in $ANT_HOME/lib or ~/.ant/lib one gets: [junit] No runnable methods [junit] java.lang.Exception: No runnable methods
Tracked down the reason for this. In JUnit4, annotations are placed in org.junit... (not in junit...) so org.junit needs to be made a "system" package for the configuration of the antclassloader, which junit uses with the bug generating option parentsfirst=false
*** Bug 40708 has been marked as a duplicate of this bug. ***