add java 8 requirement