Install Scala 2.11.8
$ sudo apt-get remove scala-library scala
$ sudo wget www.scala-lang.org/files/archive/scala-2.11.8.deb
$ sudo dpkg -i scala-2.11.8.deb
Check Scala version
$ scala -version
Install SBT
$ echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
$ sudo apt-get update
$ sudo apt-get install sbt
Install Java if required
https://gist.github.com/alexislucena/0459b64e80c3e83236e52b0b871fd8ef
Sources
https://gist.github.com/bigsnarfdude/b2eb1cabfdaf7e62a8fc
https://www.scala-sbt.org/download.html
http://www.scala-sbt.org/release/docs/Installing-sbt-on-Linux.html
Hi man
i followed your step one by one, but got a exception is that
Invalid or corrupt jarfile /usr/share/sbt/bin/sbt-launch.jar
, Do have meet this problem too, please reply me as soon as possible, i need you help.Regerds
Zean