Error while running logstash in Win7

Getting the following error while running logstash:

C:\logstash-5.0.2\bin>java -version
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

C:\logstash-5.0.2\bin>logstash.bat
LoadError: JRuby ext built for wrong Java version in `JrubyEventExtService': java.lang.UnsupportedClassVersionError: JrubyEventExtService : Unsupporte
d major.minor version 52.0
  require at org/jruby/RubyKernel.java:1040
   (root) at C:/logstash-5.0.2/logstash-core-event-java/lib/logstash-core-event-java/logstash-core-event-java.rb:25
  require at org/jruby/RubyKernel.java:1040
   (root) at C:/logstash-5.0.2/logstash-core-event-java/lib/logstash-core-event.rb:1
  require at org/jruby/RubyKernel.java:1040
   (root) at C:/logstash-5.0.2/logstash-core-event-java/lib/logstash-core-event.rb:1
  require at org/jruby/RubyKernel.java:1040
   (root) at C:/logstash-5.0.2/logstash-core-event-java/lib/logstash/event.rb:1
  require at org/jruby/RubyKernel.java:1040
   (root) at C:/logstash-5.0.2/logstash-core-event-java/lib/logstash/event.rb:54
  require at org/jruby/RubyKernel.java:1040
   (root) at C:/logstash-5.0.2/logstash-core/lib/logstash/instrument/snapshot.rb:1
  require at org/jruby/RubyKernel.java:1040
   (root) at C:/logstash-5.0.2/logstash-core/lib/logstash/instrument/snapshot.rb:3
  require at org/jruby/RubyKernel.java:1040
   (root) at C:\logstash-5.0.2\lib\bootstrap\environment.rb:67

C:\logstash-5.0.2\bin>

What am I doing wrong?

We don't support Windows 7 unfortunately - https://www.elastic.co/support/matrix

Thanks. Alas!

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