set jdk 8 on travis