removing java 7 dep