Second version of Java project.