How to install an older version of scala

1,705 views
Skip to first unread message

Rahul

unread,
Sep 25, 2015, 9:44:38 AM9/25/15
to scala-user

I currently had installed scala 2.11.7 but in order to fix this issue, I have to install a older version of scala(2.10.5). When I try to install with brew, I keep getting the following error

Error: No available formula for 2.10.5 

I tried downloading the binaries for scala download page but when I load the SDK and all the libraries in IntelliJ, I just get this error

Error:scalac: No 'scala-library*.jar' in Scala compiler classpath in Scala SDK scala-sdk-2.10.5

So what is the right way to install an older version of scala and setting the same in intellij

Seth Tisue

unread,
Sep 25, 2015, 1:26:59 PM9/25/15
to scala-user
I see you were already helped with this at http://stackoverflow.com/q/32767204/86485.

(When you post the same question in more than one place, it's polite to include a link, so that someone doesn't waste time helping you in one place, when you were already helped in the other place.)

scala solist

unread,
Sep 30, 2015, 7:22:29 AM9/30/15
to scala-user
Use scalaVersion="2.10.5" in the sbt config files, then execute "sbt update" command. It download all required dependencies.
Reply all
Reply to author
Forward
0 new messages