Today when I install jmeter in my Macbook pro(macOS Monterey 12.5) with M1 pro chip like this:
brew install jmeter
shows error like this:
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>
why did this happen? what should I do fix this problem? is it possible to install jmeter in Macbook Pro with M1 chip?
It looks like that you're trying to use Azul JDK and one of its components:zulufx hasn't been ported to ARM yet.
So you can
macos-aarch64.pkg
postfix), install it and ensure that java
binary from this OpenJDK version is before any other Java versionsjmeter.sh
from its "bin" folderMore information: JMeter Installation: How to Get Started