I m trying to run jmeter 5.6.2 with openjdk21 and it keeps crashing. https://github.com/Homebrew/homebrew-core/issues/150824 I have gone through this and they have mentioend to update /opt/homebrew/Cellar/jmeter/5.6.2/bin/jmeter but I could not find this. anyone resolved this issue?
I have tried editing the Install_receipt.json and point to the java version 21, but It still crashes
I cannot reproduce your issue either using Homebrew formula or using normal manual JMeter installation:
You can try out the "manual" way:
Install sdkman
add
sdk
command to your PATHInstall Java 21
Use it in the terminal:
Download JMeter 5.6.2
Unpack it
Launch it
JMeter GUI should appear, you can add Debug Sampler and View Results Tree listener to double check which Java version is being used.
Be aware that officially JMeter supports Java 17, higher versions can cause problems for example with JSR223 Test Elements.