Changed Java version to jdk 7