A
Angry Moth Town
Hey everyone,
Following instructions I found online, I have downloaded
junit-4.4.jar, and placed it in ~/Library/Java/ on my system running
OS X Leopard.
I created and edited my ~/.profile to read:
export CLASSPATH="~/Library/Java/junit-4.4.jar"
and now I can 'echo $CLASSPATH' and get:
~/Library/Java/junit-4.4.jar
As a test to see if everything is setup correctly, the reference I was
using suggested I run:
java org.junit.runner.JUnitCore org.junit.tests.AllTests
but I receive the error:Exception in thread "main"
java.lang.NoClassDefFoundError: /Users/mothtown/Library/Java/org/junit/
runner/JUnitCore
Any tips on what I'm doing wrong? My source online could be
completely off, but I'm not sure what else to do. Thanks in advance
for any guidance.
Following instructions I found online, I have downloaded
junit-4.4.jar, and placed it in ~/Library/Java/ on my system running
OS X Leopard.
I created and edited my ~/.profile to read:
export CLASSPATH="~/Library/Java/junit-4.4.jar"
and now I can 'echo $CLASSPATH' and get:
~/Library/Java/junit-4.4.jar
As a test to see if everything is setup correctly, the reference I was
using suggested I run:
java org.junit.runner.JUnitCore org.junit.tests.AllTests
but I receive the error:Exception in thread "main"
java.lang.NoClassDefFoundError: /Users/mothtown/Library/Java/org/junit/
runner/JUnitCore
Any tips on what I'm doing wrong? My source online could be
completely off, but I'm not sure what else to do. Thanks in advance
for any guidance.