adding java 7 dependency