mkdir bin
scalac -d bin AScalaClass.scala
javac -d bin -classpath $SCALA_HOME/lib/scala-library.jar:bin UseScalaCollection.java
java -classpath $SCALA_HOME/lib/scala-library.jar:bin UseScalaCollection
