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
https://www.elastic.co/guide/en/elasticsearch/reference/current/targz.html
When I try to run elasticsearch, I get an error :
could not find java in bundled jdk at /Users/madabhuc/elasticsearch-7.6.2/jdk.app/Contents/Home/bin/java
I set JAVA_HOME to /Users/madabhuc/elasticsearch-7.6.2.
Why is it looking for jdk.app ?