IntelliJ - Scala Project - Add Framework Support - Download Scala Jar

已回答

Hi All,

 

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 ?

 

Thank you,

Felix

0

Try installing and using 64-bit JDK. Antivirus may also prevent running some applications, see if disabling the antivirus helps.

Otherwise please file a bug at https://youtrack.jetbrains.com/issues/SCL with idea.log attached (https://intellij-support.jetbrains.com/hc/articles/207241085).

0

Hi Serge,

Thank you for reply.

Same behaviour with Java 1.8.0_131 64bits.

I have no control over my anti-virus on my work laptop.I will try from home later on my personnal laptop, maybe that's the problem.

 

Thank you,

Felix

0

hmm I just installed 1.8.0_144 and now everything is working fine ... I guess it was the 131.

0

请先登录再写评论。