Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is it possible to install jmeter in M1 chip mac book pro

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?

like image 491
Dolphin Avatar asked Nov 23 '25 17:11

Dolphin


1 Answers

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

  1. Go here: https://github.com/microsoft/openjdk-aarch64/releases and choose the appropriate version (having macos-aarch64.pkg postfix), install it and ensure that java binary from this OpenJDK version is before any other Java versions
  2. Go to JMeter Downloads page and obtain the latest stable binary
  3. Unpack JMeter tarball and launch jmeter.sh from its "bin" folder

More information: JMeter Installation: How to Get Started

like image 158
Dmitri T Avatar answered Nov 26 '25 14:11

Dmitri T



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!