Use JDK8 for travisci.