intellij - java: Cannot find JDK '1.7' for module

前端 未结 7 1717
梦毁少年i
梦毁少年i 2020-12-20 12:23

I\'ve just installed IntelliJ on Windows 8 (and 7). I then use the \'Java Hello World\' Sample as my project.

I then selected the JDK that was installed (C:\\Program

7条回答
  •  时光说笑
    2020-12-20 12:54

    In my case, Idea said "Failed to save settings" (probably due to a lot of projects being open. After that, it could not run tests with "Cannot find JDK '1.8' for module XXX" message. Idea restart solved the issue for me.

提交回复
热议问题