Changed to specify jdk 1.7 vice 1.8.