fix the case jdk-7 not present in source list (testing)
add depnedency in jdk-7