Marin
Marin

Reputation: 931

IntelliJ IDEA 13 community edition with Scala

I have IntelliJIDEA 13 installed on my windows 8 OS and would like to use it to develop Scala applications. However, I am unable to configure it. I have Scala version 2.10.3 installed and IntelliJ IDEA 13.0.1. I also have Java version 7 update 45.

I installed the scala plugin for IntelliJ, but whenever I start the application and try to make a new Scala module project I get the following window with an error "not valid scala home":

https://i.sstatic.net/lOyoe.png

Upvotes: 0

Views: 1610

Answers (2)

Vidya
Vidya

Reputation: 30310

As with JAVA_HOME, you want to point to the parent directory rather than the bin folder inside.

Upvotes: 0

swartzrock
swartzrock

Reputation: 729

It looks like you're pointing to the bin directory, which contains the tools but not the library and other files. Remove the "\bin" segment so that it's pointing to the actual Scala root directory and it should work.

Upvotes: 2

Related Questions