update travis build script to use jdk8