Updated travis config to use JDK 8.