adonis0147 opened a new issue, #14301: URL: https://github.com/apache/doris/issues/14301
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version Doris version: master OS: macOS (M1) ### What's Wrong? ```shell $ ./start_be.sh W1116 10:34:56.722774 3696862464 doris_main.cpp:382] Failed to initialize JNI: dlopen(/Users/adonis/.jenv/versions/oracle64-11.0.15/lib/server/libjvm.dylib, 0x0001): tried: '/Users/adonis/.jenv/versions/oracle64-11.0.15/lib/server/libjvm.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/adonis/.jenv/versions/oracle64-11.0.15/lib/server/libjvm.dylib' (no such file), '/Users/adonis/.jenv/versions/oracle64-11.0.15/lib/server/libjvm.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/Library/Java/JavaVirtualMachines/jdk-11.0.15.jdk/Contents/Home/lib/server/libjvm.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Java/JavaVirtualMachines/jdk-11.0.15.jdk/Contents/Home/lib/server/libjvm.dylib' (no such file), '/Library/Java/JavaVirtualMachines/jdk-11.0.15.jdk/Contents/Home/lib/server/ libjvm.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')) ``` ### What You Expected? Start BE up successfully. ### How to Reproduce? 1. set JAVA_HOME to JDK (x86_64) 2. `./build.sh --be` 3. `cd output/be/bin && ./start_be.sh` ### Anything Else? _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
