I'm trying to install apache-ant to my Ubuntu 11.10 and I'm stuck trying to setup JUnit.
The official-page steps to set it up are:
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
3.test the installation by running java org.junit.runner.JUnitCore org.junit.tests.AllTests
The second step I change it as bash suggested to
export CLASSPATH=/my/home/directory/JUnit/junit4.10/junit-4.10.jar
When I ask echo $CLASSPATH the answer is: /my/home/directory/JUnit/junit4.10/junit-4.10.jar
which looks like to be a correct answer. But whe I try the third step I get this:
JUnit version 4.10
Could not find class: org.junit.tests.AllTests
Time: 0,001
OK (0 tests)
I double checked the old posts of the same problem for MAC and Windows but nothing seems to fit me. Any suggestion?
Thanks in advance.