你的classpath中什么内容,有没有把Hello.class所在的路径发到里面去

解决方案 »

  1.   

    classpth = C:\J2EE\lib\J2EE.jar;C:\Program Files\JBuilder7\lib\classes12.zip有没有把Hello.class所在的路径发到里面去?
    sure,in the currentpath
      

  2.   

    没有
    要把hello.class的路径也加进去
      

  3.   

    hello.class 's path is currentpath!
    do you see?
      

  4.   

    是加到classpath里去!
    比如c:\hello.class
    classpth = C:\J2EE\lib\J2EE.jar;C:\Program Files\JBuilder7\lib\classes12.zip;c:\hello.class