NoClassDefFoundError

hello FriendsWhile running my java files i am getting this NoClassDefFoundError. I dont know the Reason. Its compiling well and i am getting the class file. Could anyone tell me the solution for thisAski
[231 byte] By [Askia] at [2007-10-2 5:56:30]
# 1

This is The Top-Most Frequently Asked Question on this forum. Why didn't you try a search?

Anyway, go to [url=http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html]the tutorial[/url] and follow the steps carefully. The tutorial explains you why you get this error.

jesperdja at 2007-7-16 2:05:37 > top of Java-index,Java Essentials,New To Java...
# 2
Thanks a lot Jesperdj for your Kind Reply Aski
Askia at 2007-7-16 2:05:37 > top of Java-index,Java Essentials,New To Java...
# 3
I think you get that error NoClassDefFoundError because:- Is the directory with the class file is under the classpath?Are you sure it gives output?
Killervee3a at 2007-7-16 2:05:37 > top of Java-index,Java Essentials,New To Java...
# 4
Pls put the current dir in CLASSPATH, it will solve the prob...dot(.) represent the current dir...
JayJaina at 2007-7-16 2:05:37 > top of Java-index,Java Essentials,New To Java...