Найдите Java Home
/usr/libexec/java_home
Kirk-Patrick Brown
/usr/libexec/java_home
grep JAVA_HOME /etc/environment /etc/bash.bashrc /etc/profile.d/* /etc/profile