Switch from Scala project to Java project.