1、File -->Project Structure,在左侧标签页,点击SDKs
2、点击+号,选JDK
3、选择JDK所在位置
4、点击OK,可以看到jdk配置好了
转载于:https://www.cnblogs.com/xiaoQ0725/p/7991374.html