Scala doesn't really matter when it comes to what you do with the .class files created by its compiler. Just use the jar command with the action flag c .
However, when starting a program that uses the Scala-compiled .class files, you will need to have the scala-library.jar in the path class. And be careful to use scala-library.jar for / from the same Scala Development Kit that was used to compile the Scala source. There is currently no binary compatibility between versions for Scala-generated .class files.
source share