add java6 and java7 parents