0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Apple Silicon(M1など)のMac(MacOS Sonoma14)でJMeterが動作しない

Posted at

Apple Silicon(M1など)のMac(MacOS Sonoma14)でJMeterが動作しない

HomebrewでインストールしたJMeterがうまく起動しませんでした。

Homebrewのアーキテクチャを変更したり、Javaのバージョンを変更したり、JAVA_HOMEを設定したり。。。

解決方法はこちらのissueにありました。
https://github.com/apache/jmeter/issues/6083#issuecomment-1786152329

  1. HomebrewはarmアーキテクチャにしてJMeterをインストール
  2. JAVA_HOME設定しない
  3. correttoをインストール
  4. 直接、変数を設定して呼び出す
uname -r # => 23.1.0
uname -m # => arm64
brew install corretto

# => successful launch on an M1
JAVA_HOME=/Library/Java/JavaVirtualMachines/amazon-corretto-21.jdk/Contents/Home/ exec /opt/homebrew/Cellar/jmeter/5.6.2/libexec/bin/jmeter
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?