Originally posted by Jess:
When I compile a source code *.java with SDK 1.4 there is an Error Message:
"Exception in thread "main" java.lang.NoClassDefFoundError...etc.
NoClassDefFoundError is caused by classpath problems, which one can solve by consulting the appropriate section of the
beginners FAQ, however, we don't usually see that error when compiling. Are you attempting to use the
Java Virtual Machine (i.e. "java") to compile instead of the compiler (i.e. "javac")? If you want "exact" answers you must ask "exact" questions, like including the complete command line you issued and the complete error which occurred.