Fix travis oracle jdk 7 build