run scala-class instead of java-class

run scala-class instead of java-class