upgrading to java7