菜鸟当然问菜问题!
环境变量:
path C:\Program Files\Java\jdk1.6.0_02\bin
JAVA_HOME C:\Program Files\Java\jdk1.6.0_02
CLASSPATH
C:\Program Files\Java\jdk1.6.0_02\lib\tools.jar;C:\Program Files\Java\jdk1.6.0_02\lib\dt.jar;C:\Program Files\Java\jre1.6.0_02\lib\rt.jar
程序:
public class smp11
{
public static void Main (String args[])
{
System.out.println("你好");
}
}
运行结果:
Exception in thread "main" java.lang.NoClassDeFoundError:smp11
为什么会出现这种情况?