zzxrain commented on issue #6083:
URL: https://github.com/apache/jmeter/issues/6083#issuecomment-1752536209

   > Could you please try downloading and running 5.6.2 from 
https://jmeter.apache.org/download_jmeter.cgi to rule out homebrew packaging 
issue?
   
   Yes, you are right, the binary from Apache Website is working.
   I think it is related OpenJDK bundled with Homebrew.
   I see it always imports JAVA_HOME by OpenJDK in 
/opt/homebrew/Cellar/jmeter/5.6.2/bin/jmeter
   ```
   #!/bin/bash
   JAVA_HOME="/opt/homebrew/opt/openjdk@17" exec 
"/opt/homebrew/Cellar/jmeter/5.6.2/libexec/bin/jmeter"  "$@"
   ```
   After edited as below, it works.
   ```
   #!/bin/bash
   exec "/opt/homebrew/Cellar/jmeter/5.6.2/libexec/bin/jmeter"  "$@"
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to