Could not find any executable java binary elasticsearch windows

Hi Team ,

I am seeing above error while run this command from extracted files "C:\Users\admin\Downloads\Compressed\elasticsearch-5.4.2\elasticsearch-5.4.2\bin\elasticsearch


I have reinstall Java 8 or above. and set following environment variables see below images

After this process i am getting now below error.

I am not able to figure out what is issue. Please guide me exact steps.

Hi Jay,

You have a typo where you have set JAVA_HOME to :
C:\Program Files (x86)\Java\jre1.8.0_131"

The error message also contains the unwanted double-quote character

Remove the double-quote and reopen cmd... On the command line just run : echo %JAVA_HOME% to be sure the path looks correct
Also in PATH you could use %JAVA_HOME%\bin instead of specifying the full path... Then try : where JAVA; this should list the java.exe located in the JRE you are trying to use, this would also be another way to validate any typo


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