Running elasticsearch on mac gives could not find java error

I have been using elasticsearch 7.3.0 on a mac for about a year now.
I did a fresh download of the 7.6.2 version from this link
When I try to run elasticsearch, I get an error :

could not find java in bundled jdk at /Users/madabhuc/elasticsearch-7.6.2/

I set JAVA_HOME to /Users/madabhuc/elasticsearch-7.6.2.
Why is it looking for ?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.