Development tools: IntelliJ IDEA14.1.4 + Scala2.11.7 + sbt0.13.9
IntelliJ IDEA14.1.4 After the download is complete.
After the Scala 2.11.7 installation is complete, configure the environment variable path= "E:\scala\bin"
SBT Download after installation: Configure environment variable path= "E:\sbt\bin"
SBT-related configuration: (1). Configure Sbt\conf\sbtconfig Add:
-dsbt.ivy.home=e:\develop\sbt\.ivy2
-dsbt.global.base=e:\develop\sbt\.sbt
-dsbt.repository.config=e:\develop\sbt\conf\repo.properties
-dsbt.boot.directory=e:\develop\sbt\boot
Command line: Typing SBT will download SBT-related jar packages (very slow, try a few domestic mirrors are not good, eventually bought Ali VPN)
Open IntelliJ IDEA,SETTING->SBT
(1) Configuring Jvm->custom (JDK installation directory)
(2) JVM OPTIONS->VM Parameters Add the following two lines
-dsbt.ivy.home=e:\develop\sbt\.ivy2
-dsbt.repository.config=e:\develop\sbt\conf\repo.properties
(3) Launcher->custom adding Sbt\bin\sbt-launch.jar
Scala Environment Building