junit Problem

I have downloaded junit-4.3.1

n i'm trying to run the text editor but it is not working n this is the error that i'm getting

java -cp junit-4.3.1.jar;. junit.textui.TestRunner junit.samples.AllTests

Error: java.lang.ClassCastException: class junit.samples.AllTests

i have also added the jar file to the class path as well as the path variable

plz reply

[391 byte] By [gaurav_xmla] at [2007-11-27 10:04:59]
# 1
Perhaps this is what's going on: http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=68&t=001522
prometheuzza at 2007-7-13 0:39:58 > top of Java-index,Java Essentials,New To Java...