Exception in thread
Hi, i have a program called Hello.java
after that i try to compile with the code of:
c:\ Javac Hello.java
it's fine.
but when i try run the program with code:
c:\java Hello
it happened this way
Exception in thread "main" java.lang.NoClassDefFoundError: Hello
And i try
c:\java -cp . Hello
then it's fine and able to run.
So, what is the problem?
thank..

