Switched travis to JDK 8.