I am trying to run JUnit test with a 1.5 JRE, but get the error Message:
java.lang.UnsupportedClassVersionError: Bad version number in .class file
When I switch to JRE 1.6 (actually a JDK but that shouldn't matter, right?) everythings works fine.
So the questions are:
- Do we really need Java 6 for the current JUnit version?
- what is the newest JUnit version, that works with Java 5?