java 1.5 to java 1.7