Should the parameter be specified with - E or - D?
When i used -D like this :-Des.path.conf=/Users/caster/Desktop/elasticsearch-7.10.2-demo/config,i got: ERROR: D is not a recognized option
When i used -E like this :-Ees.path.conf=/Users/caster/Desktop/elasticsearch-7.10.2-demo/config,i got:ERROR: the system property [es.path.conf] must be set
Please share the whole process of source code building you did including the whole command line you did to start Elasticsearch as well as complete error messages as properly formatted text snippets instead of images.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.