I have tried installing SBT for Scala, but get this weird exception when starting it:
Exception in thread "main" java.lang.IncompatibleClassChangeError: Expected static method scala.Predef$.refArrayOps([Ljava/lang/Object;)Lscala/collection/mutable/ArrayOps;
at xsbt.boot.Boot$.main(Boot.scala:11)
at xsbt.boot.Boot.main(Boot.scala)
My Java version is
java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)
I installed SBT via (home)brew and got version 0.13.9.
I have tried to update Java to the latest version, but it doesn't help. Of course I have uninstalled and reinstalled SBT, both with and without homebrew, but I get the same error. I can't figure out why this error occurs.