Changing Java platform to 1.7