Replaced Java 1.6 with 1.7