resolve java 1.7