Dear All
I have installed logstash-6.2.2 and when trying to start the service with systemctl i get the below errors. Please advice
NameError: cannot link Java class org.apache.logging.log4j.Level needs Java 7 (java.lang.UnsupportedClassVersionError: org/apache/logging/log4j/Level
get_proxy_or_package_under_package at org/jruby/javasupport poxy_or_package_under_package at org/jruby/javasupport/JavaUtilities.java:54
method_missing at file:/usr/share/logstash/vendor/jruby/lib/jruby.jar!/jruby/java/java_package_module_template.rb:14
My Env
Linux 3.10.0-514.16.1.el7.x86_64 #1 SMP Fri Mar 10 13:12:32 EST 2017 x86_64 x86_64 x86_64 GNU/Linux
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)