Dol*_*hin 2 java jmeter apple-m1
今天,当我在带有 M1 pro 芯片的 Macbook pro(macOS Monterey 12.5) 中安装 jmeter 时,如下所示:
brew install jmeter
Run Code Online (Sandbox Code Playgroud)
显示这样的错误:
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs
Warning: Unexpected method 'on_arm' called on Cask zulufx.
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs
Warning: Unexpected method 'arch' called on Cask zulufx.
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs
Error: openjdk: undefined method `on_arm' for #<Resource:0x0000000137b0b020>
Run Code Online (Sandbox Code Playgroud)
为什么会发生这种情况?我应该怎么解决这个问题?M1芯片的Macbook Pro可以安装jmeter吗?
您似乎正在尝试使用Azul JDK及其组件之一:zulufx尚未移植到ARM。
所以你可以
macos-aarch64.pkg后缀),安装它并确保java此 OpenJDK 版本的二进制文件位于任何其他 Java 版本之前jmeter.sh从其“bin”文件夹启动详细信息:JMeter 安装:如何开始