Windows install : jruby not found

The error message I am getting:
"could not find jruby in D:\elastic_stack\logstash-8.12.0\vendor\jruby"
I've opened and extracted the logstash-8.12.0-windows-x86_64 file with 7zip, I didn't use windows default zip file extraction. Here is the listing of my D:\elastic_stack\logstash-8.12.0\vendor directory:

    Directory: D:\elastic_stack\logstash-8.12.0\vendor


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----         2/16/2024   8:19 AM                bundle
d-----         2/16/2024   9:54 AM                jruby


PS D:\elastic_stack\logstash-8.12.0\vendor>

There clearly is a jruby directory and here is the  directory listing of it:

    Directory: D:\elastic_stack\logstash-8.12.0\vendor\jruby


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----         2/16/2024   9:52 AM                3.1.0

under the 3.1.0 directory I see the following: 
    Directory: D:\elastic_stack\logstash-8.12.0\vendor\jruby\3.1.0


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----         2/16/2024   9:51 AM                bin
d-----         1/10/2024  10:46 AM                build_info
d-----         1/10/2024  10:46 AM                cache
d-----         1/10/2024  10:46 AM                doc
d-----         1/10/2024  10:46 AM                extensions
d-----         2/16/2024   9:52 AM                gems
d-----         2/16/2024   9:52 AM                plugins
d-----         2/16/2024   9:52 AM                specifications

In addition I have tried moving the contents of the 3.1.0 directory up one level directly under the jruby directory eliminating the 3.1.0 directory but its still not finding it? and I am still getting the same error message?

The error message is produced by setup.bat. You should be able to make a copy of that and edit it to set echo on, so that you can see exactly what it is testing.

In the past there have been issues with spaces in path names and incorrect quoting, but I thought those were fixed.

Thank you!! turns out my 7zip was a few years old and didn't actually unpack the whole package so the jruby.exe was actually missing. I may have to go back and redo my Elastic Search and Kibana directories too.

ELK 8.12.x is working perfectly fine on Windows platform. Extract again and run it.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.