i am a freshman computer science major, studying ahead of the class. we have been using automated testing classes { junit.framework.TestCase; }. i have downloaded junit4.9b2.jar from junit.org, which i understand to be the junit package (?) but i don't know how to use it.
i have read that javac will check { \Java\jdk6\lib\ext\ } for packages, but this doesn't seem to be working.
i have read to append the file name { \Java\jdk6\lib\ext\junit4.9b2.jar; } to "CLASSPATH", but this hasn't worked either.
i have used netbeans, jcreator le, and cmd, all with the result of
{
package junit.framework does not exist
import junit.framework.TestCase;
^
}
i would like to know how to add a package to the packages that javac automatically checks, but i would settle for knowing how to use the package at all.
thanks in advance for any assistance.