What's the reason for “Error:Cannot determine Java VM executable in selected JDK”?

后端 未结 11 1040
感情败类
感情败类 2021-01-31 13:04

I am using IntelliJ IDEA 13.1.4 and also tried the latest release 14.

Running SBT I get the following error:

Error:Cannot determine Java VM executable in         


        
11条回答
  •  猫巷女王i
    2021-01-31 13:26

    For me the above suggestions did not help for some reason. However, I did figure out that under Project Defaults > Project Structure (Welcome screen) my default Project SDK was set to the Go SDK.

    What worked for me was setting this default SDK to the Java JDK.

提交回复
热议问题