现在怎么办  来拯救我吧

解决方案 »

  1.   

    错误信息写好了,
    没有main函数
      

  2.   

    把你的java类贴出来看看吧,估计是你java文件中的类名不是HelloWorld
      

  3.   

    public class HelloWorld{
       public static void main(String[] args){
     System.out.println("helloworld");
    }}
      

  4.   

    public class HelloWorld{
       public static void main(String[] args){
     System.out.println("helloworld");
    }}
    我觉得没有问题啊
      

  5.   

    public class HelloWorld{
        public static void main(String[] args){
      System.out.println("helloworld");
     }
     
      

  6.   

    已解决 classpath设置错误 谢谢大家  希望大家教我java QQ374012581