First javac confuses me
I think that my first copy of "HelloWorldApp" (see tutorial) is correct, but javac alway reports "Exception in thread Main: NoClassDefFound Error."
I know that a first compilation starts with those beginner errors and I try to avoid them.
But here I cannot find the solution myself.
Elmar
> I think that my first copy of "HelloWorldApp" (see
> tutorial) is correct, but javac alway reports
> "Exception in thread Main: NoClassDefFound Error."
> I know that a first compilation starts with those
> beginner errors and I try to avoid them.
> But here I cannot find the solution myself.
> Elmar
This is an error reported by "java" not "javac" (at least I have never seen it here):
>java blabla
Exception in thread "main" java.lang.NoClassDefFoundError: blabla
jbisha at 2007-7-12 22:58:58 >

> If you modify your PATH or ClassPath, make sure you> restart your machine after saving/applying the> changes. Unless you're on Windows 98, this is not likely to be an issue.
jverda at 2007-7-12 22:58:59 >
