1, 点击项目结构
2,
3, 找到主类
4,
5,
6,
7,
8, 右击
9,
10,cmd 中启动 jar 包即可
来源: http://www.bubuko.com/infodetail-3437742.html