once you set your java path,
open command prompt, and type
java -version
if it is set properly, it will show the java with version number
Next Step,
- Open command prompt
- Navigate to the elasticsearch bin folder ex: D:\ELK\Elasticserach6.4\bin\
- Run the command ".\elasticsearch" or ".\elasticsearch.bat"
- Observe the output
- Open browser and type "localhost:9200"