add java 7 support for openshift