NoClassDefFoundError:Thrown if the Java Virtual Machine or a classloader tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found. 把出错代码贴出来看看
2:path设置得是否对?不知是什么平台,path:(d:\jdk1.2.2\bin;)
3: 如果这两个都没有问题的话,是不是安装有问题,我不知用的是不是Jbuilder,如果是的话,试着重新安装一下!!!
set CLASSPATH=C:\j2sdk1.4.0\jre\lib\rt.jar;.
不行
SET path="d:\jdk1.3.1\bin\";"%path%";
SET classpath=.;%path%d:\jdk1.3.1是我的安装路径 你要根据情况改
SET classpath=.;%path% 中"."表示当前路径