updating travis to jdk8