Ernest Friedman-Hill wrote:You've probably got the CLASSPATH environment variable set, but it's set to a value that doesn't include "." (dot), the current directory. The best thing to do is unset the CLASSPATH variable, and use the default, which is, in fact, ".". But you can also specify the class path on the command like:
java -classpath . NovoTestGet
(That's java space dash classpath space period space NovoTestGet).
Thank you so much for the quick reply, but unfortunately I still got that error... I did just what you said, set the environment variable as ".", and I got all the jars I need to run it in the same directory of my java class, so I did:
java -cp . NovoTestGet
and still didn't work... then I tried:
java -cp .:commons-httpclient-3.0-rc4.jar:commons-codec-1.3.jar:commons-logging.jar NovoTestGet
but nothing
any other hint?
Regards.