Issue installing Logstash no such file to load -- bundler

I have downloaded kibana and elastic search on windows 10 64 bit and now trying to install logstash. But I get this error when I type in the command any ideas?

C:\Elasticstack\logstash-7.10.1>logstash -f logstash.conf
Using JAVA_HOME defined java: C:\Program Files\Java\jre1.8.0_271
[ERROR] 2021-01-03 08:30:54.001 [main] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (LoadError) no such file to load -- bundler

Where logstash.conf is located ?
as you are running under C:\Elasticstack\logstash-7.10.1 it should be there

The logstash.conf file is located in the logstash folder that I had navigated to

I guess you are under the bin : C:\Elasticstack\logstash-7.10.1\bin when running logstash.bat
So i suggest you move logstash.conf to binn

I moved logstash.conf to the \bin and still doesn't work :frowning:

If you undefine JAVA_HOME and let it use the bundled JDK does the error change?