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

后端 未结 11 847
感情败类
感情败类 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:48

    Another way to set JDK is from your current module/project settings (for your current project)

    PickOpen Module Settings from project context menu (or default hit F4),
    then from left tab select Project and point correct Project SDK on dropdown.

    enter image description here

提交回复
热议问题