Moving from java 1.8 to 1.7 as a requirement