use*_*818 2 java eclipse intellij-idea
可能重复:
您好世界不在IntelliJ Idea中运行
我是IntelliJ想法的新手,所以我尝试从HelloWorld:
package test;
/**
* Created with IntelliJ IDEA.
* Date: 16/06/12
* Time: 12:13
* To change this template use File | Settings | File Templates.
*/
public class Main {
public static void main(String ...args){
System.out.println("Hello World");
}
}
Run Code Online (Sandbox Code Playgroud)
但是该程序无法运行!只有绿色箭头变灰,但我看不到任何输出。我应该检查哪个设置?谢谢。编译器:

右键单击main函数名称,然后选择“调试”

当上面的右键单击创建当前配置时,“绿色箭头”将运行当前配置。您可以使用Edit Configurations左侧的按钮创建和自定义配置。

| 归档时间: |
|
| 查看次数: |
19411 次 |
| 最近记录: |