upgrading java version to 7