Switched travis ci jdk to oraclejdk7.