tisonkun commented on code in PR #17669: URL: https://github.com/apache/pulsar/pull/17669#discussion_r973688501
########## README.md: ########## @@ -138,6 +138,47 @@ Requirements: > Note: this project includes a [Maven > Wrapper](https://maven.apache.org/wrapper/) that can be used instead of a > system installed Maven. > Use it by replacing `mvn` by `./mvnw` on Linux and `mvnw.cmd` on Windows in > the commands below. +### Install JDK on M1 +In the current version, Pulsar uses a BookKeeper version which in turn uses RocksDB. RocksDB is compiled to work on x86 architecture and not ARM. Therefore, Pulsar can only work with x86 JDK. This is planned to be fixed in future versions of Pulsar. Review Comment: And I just notice that it misleads me because it's not about "Install JDK on M1" - it's about "Install X86 JDK on M1". https://www.google.com/search?q=Install+x86+JDK+on+M1 gives you: * https://itnext.io/how-to-install-x86-and-arm-jdks-on-the-mac-m1-apple-silicon-using-sdkman-872a5adc050d * https://github.com/sdkman/sdkman-cli/issues/1068 That can help. -- 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]
