top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

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

+2 votes
1,040 views

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 selected JDK
I have JDK 1.7 installed on my machine and on PATH.

posted Jun 28, 2016 by Shivam Kumar Pandey

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

Change the setting of jdk from the settings not from the open/import project dialog.
From the welcome screen, go to Configure -> Project defaults -> Project structure and add the jdk.

After doing above opening the sbt project should work.

answer Jun 29, 2016 by Salil Agrawal
Similar Questions
+1 vote

I'm trying to install android studio . But it needs java . I try to install openjdk .But it keeps asking for java . Can some tell me how to install the simple way to install java and jdk in fedora 21 64bit ?

...