I downloaded Logstash-1.5.0 on Windows 8.1 and tried to run it in the command prompt.
First I checked the java version.
Then changed the directory to logstash-1.5.0/bin
then entered the command logstash -e 'input { stdin { } } output { elasticsearch { host => localhost } stdout { } }' it gave the following error:
Cannot locate java installation, specified by JAVA_HOME
The Logstash folder is on C: and the version of Java is 1.7.0_25. I've set the JAVA_HOME environmental variables to the jdk /bin directory, but still it doesn't work.
I'm new to Logstash. Can somebody tell me in detail why this happens and help me fix it?
 
     
     
     
     
     
    