the content of the "ClassPath" should contains the directory of the test.class which was just generated.and generally,the .class file is at the same place with the .java file.

解决方案 »

  1.   

    CLASSPATH设置如下:
    .;C:\Sun\AppServer\jdk\lib;C:\Sun\AppServer\jdk\lib\tools.jar;C:\Sun\AppServer\jdk\lib\dt.jar你这个是装的j2sdkee1.4啊  你干吗不装j2sdk1.4呢 
      

  2.   

    这个东西最难说。要反复的调才能出来。肯定是CLASSPATH的问题。
      

  3.   

    哦,j2sdkee1.4和j2sdk1.4的区别我倒是没有搞清楚
      

  4.   

    我的也是 这样的问题啊.我装的是j2sdk1.4.2(C:\j2sdk1.4.2),环境变量设置为c:\j2sdk1.4.2\lib;.