add java7 and java8 profiles