Remove dependency on jdk7 from ProvisionException