Update travis file to use jdk 8