eclipse运行出现unable to launch 错误

eclipse运行出现unable to launch 错误


  • 新安装的eclipse运行一个简单的HelloWorld程序的时候出现如下错误:

    unable to launch:The selection can not be launched,and there are no recent launches.

  • 解决办法
  1. 找到包含main方法的源文件
  2. 点选源文件后单击右键,选择 Run As  ——>java application就可以了。

猜你喜欢

转载自blog.csdn.net/jungle_rao/article/details/81070028