But I think logstash still works with the JAVA_HOME that it's defined in the System environment variables (It's Windows, yes). Because it prints out as error that Error: Could not find or load main class Files\Java\jre7\lib\ext\QTJava.zip; and the error goes on... C:\Program Files\Java\jre7 is the JAVA_HOME from the System variables.