ES Source code compilation

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

Must I use - d here?

Looking forward to the answer

This is not enough information to help.

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.