add config for jdk required 1.7