NoClassDefFoundError

Hello,I have install java onn my machine and set the path properly, ,;but every time i tried to run the programm after compilation it tell me Exception in thread "main" java.lang.NoClassDefFoundError. What could be the source of this problem and how to solve it.Thanks
[289 byte] By [bezgodoa] at [2007-11-27 4:01:01]
# 1
It's trying to find a main() method and it's not finding one. So the error is simply that you don't have a main() method.
JJCoolBa at 2007-7-12 9:05:40 > top of Java-index,Java Essentials,New To Java...
# 2
bleh, need more coffeeMessage was edited by: kdajani
kdajania at 2007-7-12 9:05:40 > top of Java-index,Java Essentials,New To Java...
# 3

> It's trying to find a main() method and it's not

> finding one. So the error is simply that you don't

> have a main() method.

Sorry, but that isn't correct. NoClassDefFoundError means that the class specified can't be found.

@Op. Check your classpath.

Kaj

kajbja at 2007-7-12 9:05:40 > top of Java-index,Java Essentials,New To Java...