I installed on my Mac OS 14.0.6 Elasticsearch with brew. It must be ES V 6 - not 7. But I tied to install 7 too - same error. So must be problem with the jdk? I was also installing java 8 with brew (was asking to install before Elasticsearch).
After all finished and start in console with "Elasticsearch" I getter's error:
OpenJDK 64-Bit Server VM warning: Cannot open file logs/gc.log due to No such file or directory
How can I fix this?