/* 
this is my first java application.It displays 
some words to the standard output.
*/
public class sayhello{
    public static void main(String[] args){
         //display the string.
          System.out.println("hello,it's my first application!\n");
     }
}哪位帮忙运行下,看你们是否能够运行,帮忙找一下错误,谢谢了。

解决方案 »

  1.   

    请楼主把详细的编译,执行过程,文件存在路径说错.myeclipse下运行没有错误
      

  2.   

    是不是你改了后没有保存啊?保存了还得再编译.还有一个问题,如果是1分的贴,你结贴后,csdn会给你返还多少分啊?
      

  3.   

    我这里编译运行都没问题
    估计
    1.没保存
    2.文件名是Sayhello.java 类名sayhello
      编译时 用的javac sayhello.java 
      运行时用的java Sayhello
    就会报错