Changed Travis java version to 1.8