java.lang.NoClassDefFoundError
Hi all,
I having problems running a java class.
I am using eclipse. I create a program in eclipse (hello world). It compiles and runs using eclpise ok.
The problem is when I compile it using terminal (javac command) it compiles ok, but when I try to run it (java comand) I get the following error.
java.lang.NoClassDefFoundError
I know it is a classpath issue, but I don't know what causes it or how to correct it.
Regards Wayne.
I having problems running a java class.
I am using eclipse. I create a program in eclipse (hello world). It compiles and runs using eclpise ok.
The problem is when I compile it using terminal (javac command) it compiles ok, but when I try to run it (java comand) I get the following error.
java.lang.NoClassDefFoundError
I know it is a classpath issue, but I don't know what causes it or how to correct it.
Regards Wayne.
iMac 24", Mac OS X (10.5.7)