Corrected the java version to 1.6.