Bumped java version

Changed to use 1.7