added dependency to java 1.7 (to be discussed)