language: java

jdk:
  - oraclejdk8

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

jdk:
  - oraclejdk8

cache: apt

before_install:
  - sudo apt-get update && sudo apt-get install oracle-java8-installer
  - java -version
Add Travis caching for JDK 8
Add Travis caching for JDK 8
