use java 1.7+ only