Use Java 7. Update Scala version.