morningman opened a new pull request, #47995: URL: https://github.com/apache/doris/pull/47995
### What problem does this PR solve? Related PR: #47913 Problem Summary: Export the `JAVA_OPTS` at last in `start_xxx.sh`. Because user may use different version of java to run Doris, so different JAVA_OPTS env variable may be used like `JAVA_OPTS` for java8, `JAVA_OPTS_FOR_JDK_17` for java 17. But in `be/src/util/jni-util.cpp`, it only read `JAVA_OPTS` env variable. So we need to set this variable at last. -- 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