在Mac下编译执行java

【在Mac下编译执行java】IntelliJ IDEA:
新建工程
或者从github上克隆后,Would you like to create an IntelliJ IDEA project for the sources you checked out to .....
选择yes,一路next,直到finished。


选择菜单 Build -> Build Project ,能够创建out文件夹,编译出class文件。


执行与断点调试:
Add Configuration...->+->Application->Main class-> Program arguments->ok

    推荐阅读