OpenJDK 64-Bit Server VM warning: Cannot open file logs/gc.log due to No such file or directory

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?

please do not create two posts about the same issue. This looks like a duplicate of ES 6.8.2 on Mac OS 14.0.6 and Java JDK 12.0.2 ERROR to me.

Thanks!

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