Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sbt on ubuntu 16.04 installation failure

I am facing a failed downloads problem while trying to install sbt 0.13.13 on ubuntu 16.04 following the documentation on: http://www.scala-sbt.org/release/docs/Installing-sbt-on-Linux.html.

Below, the message log:

enter image description here

I also tried the answer from paradigmatic here: Install sbt on ubuntu, and: https://askubuntu.com/questions/732092/how-to-install-sbt-in-its-latest-version-in-ubuntu-14-04. Those posts are a little old. Neverhteless, the official method seems to bug so far.

Anyone faced the same impediments?

like image 806
wipman Avatar asked Nov 25 '16 23:11

wipman


1 Answers

The cause and solution is actually provided by https://medium.com/@henricook/solution-to-sun-security-validator-validatorexception-e300dd7dba70#.tk7u7klut. The experimental java9 is to blame. Installing java8 as in https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04 will solve it.

like image 126
manuzhang Avatar answered Nov 20 '22 21:11

manuzhang