Cannot run Logstash on windows

I followed the steps to install and run logstash from https://www.elastic.co/guide/en/logstash/current/installing-logstash.html
https://www.elastic.co/guide/en/logstash/current/running-logstash-windows.html

Unfortunately I am getting following error after I am running the run command : C:\logstash-7.6.1> .\bin\logstash.bat -f .\config\syslog.conf
Error: Could not find or load main class Search\logstash-7.6.1\logstash-core\lib\jars\animal-sniffer-annotations-1.14.jar

JAVA_HOME is set to c:\Program Files\Java\jre1.8.0_241
Path has : c:\Program Files\Java\jre1.8.0_241\bin
Java version "1.8.0_241"
Java(TM) SE Runtime Environment (build 1.8.0_241-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.241-b07, mixed mode)

Can somebody help me ?

Thanks

Hi Constantin,

Just ran into the same problem.

I had to remove the quotes around the %CLASSPATH% at line 55 of bin\logstash.bat.

Hope this help,

Patrick