Experienced the same problem. Fixed it by removing an old ant-junit.jar from
the classpath.
Shawn Castrianni wrote:
>
> I am getting a forked JVM crash for my junit task after the unit tests run
> successfully. I am using ANT 1.7. I found the report on bug 41104 which
> is similar, but I ne
Ant does not distribute junit.jar, so the junit.jar file in your
$ANT_HOME/lib directory
would have been placed there independently.
With ant 1.7, the best practice is not to place a junit.jar file in
$ANT_HOME/lib.
Instead, one should use the classpath element of the junit task, and use
a project
Looking inside the junit.jar from my ant/lib directory, I can decompile the
Version.class and see that it is version JUnit 3.8.1. I downloaded JUnit 4.4
from their website and replaced the 3.8.1 jar in my ant/lib directory. That
seems to have fixed the problem. Is this a proper fix for my pro