今天当我安装jmeter在我的MacBook Pro(macOS蒙特雷12.5)与M1专业芯片这样:
brew install jmeter
显示如下错误:
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>
为什么会出现这种情况?我应该怎么做才能解决这个问题?有可能在带有M1芯片Macbook Pro中安装jmeter吗?
1条答案
按热度按时间lztngnrs1#
看起来您正在尝试使用Azul JDK及其组件之一:zulufx尚未移植到ARM yet.
这样你就可以
1.转到此处:https://github.com/microsoft/openjdk-aarch64/releases并选择适当的版本(具有
macos-aarch64.pkg
后缀),安装它并确保此OpenJDK版本中的java
二进制文件位于任何其他Java版本之前1.转到JMeter Downloads页并获取最新的稳定二进制文件
1.解压缩JMeter压缩包并从其“bin”文件夹启动
jmeter.sh
更多信息:JMeter Installation: How to Get Started