Ubuntu + scala REPL, Commands not typed on console

前端 未结 6 641
故里飘歌
故里飘歌 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条回答
  •  借酒劲吻你
    2021-02-05 01:33

    This seems to be an issue with JLine2 being built with JDK9+, but being used on JSK8.

    JLine is a Java library for handling console input.

    just download and install via dpkg:

    https://launchpad.net/~lokkju/+archive/ubuntu/java-compat/+build/16458066/+files/libjline2-java_2.14.6-1ubuntu1~bionicppa1_all.deb

提交回复
热议问题