好像要把classpath和path设好。试试看吧

解决方案 »

  1.   

    jdk配置好了没有?
    如果没有,我可以给你一分:
    win98:(autoexec.bat):path c:\windows;c:\windows\command;
    set java_home=d:\jdk\;(假设安装目录)
    set classpath=.;d:\jdk\bin;d:\jdk\lib;win2k\winXP:(autoexec.bat):path c:\windows;c:\windows\system32\command;
    (其它同上)编译java程序时,别忘了把文件名保存为.java
      

  2.   

    Editplus:
    tools-->configure user tools..-->add tool-->program
    在argument中加classpath
    试试看吧
      

  3.   

    jdk配置如下:
    win98:(autoexec.bat):path c:\windows;c:\windows\command;
    set java_home=d:\jdk\;
    set classpath=.;d:\jdk\bin;d:\jdk\lib;win2k\winXP:(autoexec.bat):path c:\windows;c:\windows\system32\command;
    (其它同上)
      

  4.   

    另外,把编译好的文件保存为.java