Corrected Java version to 7