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.
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
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.