Start->Settings->Control Panel, select System, click the Environment tab and, in the User Variables section, examine the CLASSPATH variable

解决方案 »

  1.   

    可以在c盘概目录下建一文件autoexec.bat,我的文件如下,参考一下吧SET PATH=D:\j2sdk_forte\jdk1.4.0\bin
    SET CLASSPATH=.;D:\j2sdk_forte\jdk1.4.0\lib\tools.jar;D:\j2sdk_forte\jdk1.4.0\lib\dt.jar       
      

  2.   

    saucer的方法:
    Start->Settings->Control Panel, select System, click the Environment tab and, in the User Variables section, examine the CLASSPATH variable
    加上thebear810611的定义部分。
    PATH=D:\j2sdk_forte\jdk1.4.0\bin
    CLASSPATH=.;D:\j2sdk_forte\jdk1.4.0lib\tools.jar;D:\j2sdk_forte\jdk1.4.0\lib\dt.jar
    就可以了。