adonis0147 commented on code in PR #23943: URL: https://github.com/apache/doris/pull/23943#discussion_r1316680630
########## bin/start_fe.sh: ########## @@ -108,7 +108,12 @@ if [[ -e "${DORIS_HOME}/bin/palo_env.sh" ]]; then fi if [[ -z "${JAVA_HOME}" ]]; then - JAVA="$(command -v java)" + if ! command -v java &>/dev/null; then Review Comment: Hi @xyfsjq , would you show the errors here if we don't set `JAVA_HOME` before starting FE? By the way, if it was caused by the environment variable `JAVA_HOME` which is unset, we should check the variable `JAVA_HOME` straightforwardly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org