mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
parent
5729fb9a0a
commit
b0cc23ff37
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ module LogStash::Util::JavaVersion
|
|||
# Print a warning if we're on a bad version of java
|
||||
def self.warn_on_bad_java_version
|
||||
if self.bad_java_version?(self.version)
|
||||
STDERR.puts("Please upgrade your java version, the current version '#{self.version}' may cause problems. We recommend a minimum version of 1.7.0_51")
|
||||
STDERR.puts("!!! Please upgrade your java version, the current version '#{self.version}' may cause problems. We recommend a minimum version of 1.7.0_51")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue