Java uses classes made by Scala