0

I was reading how to get started with JUnit and I followed the instruction on tutorial. Everything goes well and at some point it instructs to set the CLASSPATH environment variable to the path to the downloaded source files (in unix). I did that and as I run my test programs, it compiles and I found run time exceptions.

The second answer on the link Setting up java classpath and java_home correctly in Ubuntu suggests that the CLASSPATH environment variable is ignored which makes me wonder why the installation procedure on http://junit.org is not updated to reflect that change. Following the instructions on http://junit.org/faq.html#started_2 the tests all failed. What do you think can go wrong. I couldn't find the best reference that explains all the quirks about packages and package management in java. Any reference to how to use a package dependency management system like Ant is greatly appreciated.

Community
  • 1
  • 1
Merhawi Fissehaye
  • 2,152
  • 1
  • 22
  • 34

0 Answers0