migrated travis configuration to use Oracle JDK 8