Upgrading travis jdk version to 8