eclipse run as 后边没有java application的选项

在要运行的项目中选择一个类,添加一个主函数即可。
public static void main(String[] args) {

}
或者是你代码中的这句话没写准确
也或者你写过后没有保存直接运行,点一下保存再运行
 
posted @ 2017-03-01 10:33  牛郑焜  Views(10538)  Comments(0Edit  收藏  举报