try to use java8 if it is installe
add java8.java