Ubuntu + scala REPL, Commands not typed on console

前端 未结 6 635
故里飘歌
故里飘歌 2021-02-05 00:46

I am using Ubuntu 18.04 + Scala 2.11.12 (OpenJDK 64-Bit Server VM, Java 1.8.0_162).

Once I open the scala shell, I am not able to see anything that I type. It gets typed

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-05 01:44

    scala 2.11.12 as described above throws some error before the REPL is started, which is taken care in scala 2.12.x Instead remove Scala and Install the latest scala package with dpkg

    sudo apt-get remove scala-library scala
    sudo wget www.scala-lang.org/files/archive/scala-2.12.8.deb
    sudo dpkg -i scala-2.12.8.deb
    

提交回复
热议问题