add java8 centos support