I am newbe for IntelliJ idea, so I try from 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");
}
}
But this program doesn't run! Only green arrow getting grey, but I don't see any output.
Which setting I should check?
Thanks.
Compiler:
解决方案
Right click on the main function name and select Debug
The "green arrow" just runs the current configuration, when the above right clicking creates such. You can create and customize the configurations with the Edit Configurations button, to the left.