启动抛如下异常
NameError: cannot link Java class org.logstash.RubyUtil org/logstash/RubyUtil : Unsupported major.minor version 52.0
method_missing at org/jruby/javasupport/JavaPackage.java:259
<main> at /usr/local/elk/logstash-6.1.1/logstash-core/lib/logstash-core/logstash-core.rb:37
require at org/jruby/RubyKernel.java:955
<main> at /usr/local/elk/logstash-6.1.1/logstash-core/lib/logstash/runner.rb:1
require at org/jruby/RubyKernel.java:955
<main> at /usr/local/elk/logstash-6.1.1/lib/bootstrap/environment.rb:66
3 个回复
Niki - 奔跑的蜗牛
赞同来自:
NameError: cannot link Java class org.logstash.RubyUtil org/logstash/RubyUtil : Unsupported major.minor version 52.0
method_missing at org/jruby/javasupport/JavaPackage.java:259
<main> at /usr/local/elk/logstash-6.1.1/logstash-core/lib/logstash-core/logstash-core.rb:37
require at org/jruby/RubyKernel.java:955
<main> at /usr/local/elk/logstash-6.1.1/logstash-core/lib/logstash/runner.rb:1
require at org/jruby/RubyKernel.java:955
<main> at /usr/local/elk/logstash-6.1.1/lib/bootstrap/environment.rb:66
tacsklet - 公司有用到es
赞同来自:
windows上在logstash的bin下setup.bat中添加
Niki - 奔跑的蜗牛
赞同来自:
JAVA_HOME="/you_java8_path"