1、在插件市场搜索 Choose Runtime, 然后安装插件

2、重启 IDEA
3、重启后使用 Find Action 快捷键 Ctrl + Shift + A, 打开 Find Action, 搜索 Choose Runtime, 打开后

选择要使用的 JDK, 点 install, 它会自动下载, 安装完重启一下就可以了
2021/12/01 更新
新版本(IEDA2021)已经改成 Choose Boot Runtime for the IDE,快捷键还是一样的,不用安装查件

转载自:http://www.sundeqiang.cn/archives/1642.html
网友评论