BetaRide
BetaRide

Reputation: 16844

Which version of JUnit is compatible with JDK 1.3?

For a legacy project I have to work with JDK 1.3. Since I want to add some unit tests I'd like to know which is the latest JUnit release I can use for this project.

Upvotes: 2

Views: 946

Answers (2)

A4L
A4L

Reputation: 17595

Since junit 4.x is annotation based (but also supports the old style) it requires at least jdk 1.5, for jdk 1.3 you need to go with junit 3.x. See here.

1. JDK Required?

JUnit 4 requires Java 5 or higher, it uses a lot from Java 5 annotations, generics, and static import features. the JUnit 3.x version can work with JDK 1.2+ and any higher versions.

Upvotes: 3

kyiu
kyiu

Reputation: 1976

Having Googled the matter, JUnit 3.4 seems be compatible with JDK 1.3

Upvotes: 0

Related Questions