Changed java version to 7.