RHS -> Allan->Notes => JUnit installation

JUnit installation

First download a zip-file from www.junit.org - important: in the following I assume that you've downloaded junit3.8.1.zip. If you've downloaded another version (presumably a newer) please correct the folder names below accordingly.

Unzip the file into the folder where you wish to install JUnit - I assume you unzip into the folder "C:\Program Files\JUnit"

Add the following path to your classpath: "C:\Program Files\JUnit\junit3.8.1\junit.jar"
(for changing the classpath see Change classpath).

NOTE that you should add "junit3.8.1\junit.jar" to the foldername (path) where you installed JUnit (this is described wrongly in the documentation that states you should only add \junit.jar)


Maintained by: Allan Helboe
Updated: 28 November, 2007 15:57