coder-zzzz opened a new issue, #5256:
URL: https://github.com/apache/rocketmq/issues/5256

   ```shell
   find_java_home()
   {
       case "`uname`" in
           Darwin)
               JAVA_HOME=$(/usr/libexec/java_home)
           ;;
           *)
               JAVA_HOME=$(dirname $(dirname $(readlink -f $(which javac))))
           ;;
       esac
   }
   ```
   
   why not use "which java" instead of "which javac",
   sometimes we didn't install javac, but must install java


-- 
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: dev-unsubscr...@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to