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

前端 未结 7 1718
梦毁少年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 13:01

    Found the root of the problem. Turns out Windows 8 under parallels shares the same Desktop as OSX. This confused IntelliJ somehow and as a result it couldn't compile properly.

    In parallels by removing the "Desktop" shared under Configure this then resolves the issue.

    enter image description here

    0 讨论(0)
提交回复
热议问题