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:
Installation
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
I get
And I get a similar error independently of from where I run the command. Any suggestions ?