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


(Jiantao Wu) #1

How to resolve it.


Installed 6.6 -- Could not find java; set JAVA_HOME or ensure java is in PATH
(David Pilato) #2

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.


(Jiantao Wu) #3

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


(system) closed #4

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