I was trying to do a
setenv CLASSPATH /somethig/foo/junit-4.9.jar
kind of thing. After doing some searching (the command setenv was not detected). I found that I had to use instead
export CLASSPATH=/folder/junit-4.9.jar
Which didn’t mark an error or anything. The problem is that it seemed to mess up other things that used to work like if I do
javac -Xlint FooTest.java
it says something like
cannot find symbol variable Foo
Foo.start()
Foo comes from Foo.java and Foo.class files
And before doing the export classpath thing I was able to do this. Is there anyway to revert that?
Where do I erase what i just added by doing the export CLASSPATH= bla bla?
I want to return to “the way things were” before I started adding the junit path
Thanks!
UPDATE
if I do an echo of the value I get:
echo $CLASSPATH .:/folder/junit-4.9.jar:/junit-4.9.jar
Nevermind I erased the whole thing I put by setting CLASSPATH=”” and now the stuff compiles.
Use,