Java and Scala versions