language: java

jdk:
  - oraclejdk8

cache: apt

before_install:
  - sudo apt-get update && sudo apt-get install oracle-java8-installer
  - java -version
language: java

jdk:
  - oraclejdk8

before_install:
  - sudo apt-get update && sudo apt-get install oracle-java8-installer
  - java -version
Remove cache apt in Travis config
Remove cache apt in Travis config

This cache system only work with the add-on system, which does not solve the JDK 8 problem.
