Changing Java version to 7