打开idea,左上角file>new>project
新建一个模块,file>new>module
设置环境(一定要设置不然没有运行环境)file>project structure>SDK设置1.8>Langguage level设置8