updated default java version to 7