I am trying to install JUnit to use from commandline on Linux machine.
I have tried to follow the following instructions for an older but similar version of the downloaded package:
Below are the installation steps for installing JUnit:
unzip the junit4.6.zip file
add junit-4.6.jar to the CLASSPATH. For example: set classpath=%classpath%;INSTALL_DIR\junit-4.6.jar;INSTALL_DIR
test the installation by running java org.junit.runner.JUnitCore org.junit.tests.AllTests
Notice: that the tests are not contained in the junit-4.6.jar but in the installation directory directly. Therefore make sure that the installation directory is on the class path
Important: don't install junit-4.6.jar into the extension directory of your JDK installation. If you do so the test class on the files system will not be found.
I have created a folder at /home/me/.junit/ and extracted the zip.file here. In my .bashrc I have
When I do the suggested
And I get a similar error independently of from where I run the command. Any suggestions ?
Dang ! That was an embarassment Seing your reply and reading my own post again, made me realise that I have been typing the wrong directory name into my .bashrc permuting the 2 and 8 in 4.8.2, and looking at it for too long to reveal axactly how long without seeing it! It was the actual copy pasting I gave and it shows my mistake. Thanks, Ill go hide for a couple of days
In the renaissance, how big were the dinosaurs? Did you have tiny ads?