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

后端 未结 11 831
感情败类
感情败类 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条回答
  •  孤街浪徒
    2021-01-31 13:50

    I had to open Settings -> Language & Frameworks -> Scala Compiler Server

    Then set the JVM SDK there, which was .

    This was in addition to setting the Project SDK in Project Structure -> Project.

    See the screenshot here.

提交回复
热议问题