Converted plugins/darwin/uptime to Mixlib::ShellOut.
Converted plugins/java to Mixlib::ShellOut.