Include brew's sbin in PATH when available, too.
Use libexec to set JAVA_HOME when possible