Could not find java; set JAVA_HOME or ensure java is in PATH in ubuntu

image

How to resolve it.

Please don't post images of text as they are hardly readable and not searchable.

Instead paste the text and format it with </> icon. Check the preview window.

Why do you want to run elasticsearch as root? It's not allowed.

I resolve it.
NOTE:
Don't put Elasticsearch in /usr or similar dir.
Don't use root to lanuch Elasticsearch

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