diff options
Diffstat (limited to 'lib/ohai/plugins/java.rb')
-rw-r--r-- | lib/ohai/plugins/java.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ohai/plugins/java.rb b/lib/ohai/plugins/java.rb index ee931864..1beff3fa 100644 --- a/lib/ohai/plugins/java.rb +++ b/lib/ohai/plugins/java.rb @@ -63,6 +63,7 @@ Ohai.plugin(:Java) do # workaround for this particular annoyance. def has_real_java? return true unless on_darwin? + shell_out("/usr/libexec/java_home").status.success? end |