光标:tools->editong option ->display ->font 新宋体  之类都可以
运行不行你可写出出错信息呀???

解决方案 »

  1.   

    java.lang.NoSuchMethodError: main
    Exception in thread "main" 
    这是出错信息,但是我程序有main阿
    public class dostest
    {
    public static final double g = 32; public dostest() {
    }
       public static void main(String[] arg){
      System.out.println(g+"hello world!");
       }
    }
      

  2.   

    配置环境如下:
    Project property-->Run -->Application-->main class
    中,选择含有Main method 的class, 在这儿应该是dostest
      

  3.   

    老兄,你是哪儿的啊。
    认识一下可以嘛。
    note that: 上个星期我刚做过类似的测试
      

  4.   

    我拷过去运行没有问题呀...不要配置你的run
    直接在类上点右键,运行即可
      

  5.   

    呵呵,杭州的,以前一直用c++,刚改用java