Under Windows, setup.bat is the equivalent of bin/logstash.lib.sh but setup.bat has not been updated with the enhancements such as using config/jvm.options. This means that under Windows, config/jvm.options is not taken into account when launching logstash or running the specs.