|
Very basic question
I am sure you must have come across this problem and I did google for the solution but it dint work
I am doing my school assignment and I try to write a very simple program (just a helloworld to start with)
When I compile with javac no issues. but when I try to run the program(Test) java Test
I get the following error
Exception in thread "main" java.lang.NoClassDefFoundError: test
I found that I need to set the classpath variable but I am not sure where or how or what value to set the classpath at.
If any of you gurus can help that would be great . I have a complex xml parsing program in java to write but am stuck at this simple step. I am beginner in java so sorry if this is too simple
Thanks for your time
G
|