eclipse为什么不能运行application?
我写了个helloworld.java文件,环境变量配置应该都是正确的,然后每次在eclipse里点run as ,然后再选择application,但是application框是会的。
[解决办法]
那你试试在helloworld.java文件上点击右键再选择 run as -> java application
[解决办法]
do u have main in your class?
[解决办法]
public static void main(String[] args)
{
...
}
方法有吗?
[解决办法]
要写一个main方法才可以run as application