Hi All, I am a newbie to Java and I keep getting the error java.lang.NoClassDefFoundError when i run my program... public class A{ public static void main(String[] argv) { System.out.println("AAAA"); } } When I run java A.... I get this error but when I copied the A.class file to another computer.. it runs fine.... what could be the problem??? Thanks in advance.. Cheers, wmeng72
Cheers,<BR>Wai Meng
Bosun Bello
Ranch Hand
Joined: Nov 06, 2000
Posts: 1506
posted
0
The JVM is not finding that class "A". Verify your classpath settings, also verify that you are spelling the class correctly when trying to run.
Bosun
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley