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
The following thing is working for me.
Open a scala console via sbt.
~$ sbt
[info] Loading project definition from /home/abhay/project
[info] Set current project to abhay (in build file:/home/abhay/)
[warn] sbt server could not start because there's another instance of sbt running on this build.
[warn] Running multiple instances is unsupported
sbt:abhay> console
[info] Starting scala interpreter...
Welcome to Scala 2.12.4 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_161).
Type in expressions for evaluation. Or try :help.
scala> printf("Hello, Abhay!");
Hello, Abhay!
scala>
This is working for me for now.
I am pretty sure its some environment issue. Anyone else facing something similar?
~Abhay