我的系统环境变量是:
JAVA_HOME =C:\jdk1.6.0_02
TOMCAT_HOME =C:\apache-tomcat-5.5.23
Classpath =.;C:\jdk1.6.0_02;C:\jdk1.6.0_02\bin;C:\jdk1.6.0_02\lib;C:\jdk1.6.0_02\lib\tools.jar;C:\jdk1.6.0_02\lib\dt.jar;C:\apache-tomcat-5.5.23\common\lib\servlet-api.jar;C:\jdk1.6.0_02\jre\lib;
path =%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%java_home%\bin;%CATALINA_HOME%\bin;%java_home%\jre\bin;
JAVA源程序是
public class HelloWorld{
public static void main(String[] args){
System.out.println("Hello,World!");
}
}
这该怎么解决???谢谢大家了 ,急啊!!!!!!
重启了下可以了 谢谢
...in thread "main" java.lang.noClassDefFoudError:hello
4.键入命令“java -version”,出现画面,说明环境变量配置成功.