Properly use Java libraries in Scala

I am learning Scala and I am unable to figure out how to properly use commands from Java libraries in Scala. I show below what am trying to do in a command-line. collier@Nacho-Laptop:~$ scala Welc...