# File lib/ohai/plugins/java.rb, line 58 def has_real_java? return true unless on_darwin? shell_out("/usr/libexec/java_home").status.success? end