In Eclipse, can I choose the version of Scala for my project?

I am currently using the Scala IDE, and the version of Scala used for my project is 2.9.2. I prefer to choose 2.8.1 and don’t know how to choose the version of the Scala library.

Is there a way to change the version?

Thanks!

+4
source share
1 answer

http://scala-ide.org/docs/user/gettingstarted.html

"The list of URLs of various update sites is available in the download area. The release is in the current section. The Scala IDE is associated with a specific version of Scala, so you need to decide which one you are going to use:

  • release-29 provides project support using Scala 2.9.x (2.9.0-1 or 2.9.1). This is the current version of Scala. Choose this option if you are not sure.

  • release-28 provides project support using Scala 2.8.x (2.8.1 or 2.8.2).

Therefore, you need to install release-28 Scala IDE to compile your Scala project with version 2.8.1.

The release site can be found here: http://scala-ide.org/download/current.html

+4
source

All Articles