I created a new Scala Project and created a new module.
From my module directory, I did :
- Righ click Add Framework Support
- Checked Scala
- Clicked on Create
- Clicked on Download
- Selected Version 2.11.7
- Clicked OK
Then I got a pop-up saying :
Cannot run program "java" (in directory "C:\Users\<MYUSER>\AppData\Local\Temp\sbt-project"): CreateProcess error=2, The system cannot find the file specified
When I created my project, I specified that my SDK is located under C:\Program Files (x86)\Java\jdk1.8.0_131
How can I fix the above error ?