Made travis ci build with jdk8