fixed typo and setted the java version to 7