hide warning on macOS if no JDK is installed
hide warning on macOS if no JDK is installed

On macOS Bazel calls /usr/libexec/java_home to detect the
system jdk (if any). This tool prints a warning if no system
jdk is installed:

> Unable to find any JVMs matching version "1.7+".
> No Java runtime present, try --request to install.

This patch hides this warning as Bazel ships with an embedded
JDK and does not require a system JDK installed. Additionally,
pump the version requirement to 1.8+ as this is the oldest JDK
version that Bazel can build for.

Closes #5992.

PiperOrigin-RevId: 210333991

twitter-forks/bazel,ulfjack/bazel,dslomov/bazel,dslomov/bazel,bazelbuild/bazel,werkt/bazel,perezd/bazel,werkt/bazel,cushon/bazel,aehlig/bazel,safarmer/bazel,davidzchen/bazel,katre/bazel,dslomov/bazel,dslomov/bazel-windows,meteorcloudy/bazel,perezd/bazel,twitter-forks/bazel,katre/bazel,davidzchen/bazel,ulfjack/bazel,werkt/bazel,ButterflyNetwork/bazel,bazelbuild/bazel,perezd/bazel,aehlig/bazel,safarmer/bazel,davidzchen/bazel,bazelbuild/bazel,akira-baruah/bazel,twitter-forks/bazel,ButterflyNetwork/bazel,dslomov/bazel,safarmer/bazel,ButterflyNetwork/bazel,akira-baruah/bazel,dslomov/bazel,meteorcloudy/bazel,cushon/bazel,meteorcloudy/bazel,ulfjack/bazel,akira-baruah/bazel,dslomov/bazel-windows,meteorcloudy/bazel,meteorcloudy/bazel,katre/bazel,aehlig/bazel,perezd/bazel,akira-baruah/bazel,werkt/bazel,katre/bazel,ButterflyNetwork/bazel,safarmer/bazel,katre/bazel,ulfjack/bazel,dslomov/bazel,twitter-forks/bazel,ulfjack/bazel,meteorcloudy/bazel,cushon/bazel,akira-baruah/bazel,davidzchen/bazel,dslomov/bazel-windows,bazelbuild/bazel,davidzchen/bazel,ulfjack/bazel,bazelbuild/bazel,katre/bazel,twitter-forks/bazel,werkt/bazel,ButterflyNetwork/bazel,safarmer/bazel,aehlig/bazel,werkt/bazel,cushon/bazel,cushon/bazel,dslomov/bazel-windows,cushon/bazel,twitter-forks/bazel,twitter-forks/bazel,bazelbuild/bazel,dslomov/bazel-windows,ulfjack/bazel,dslomov/bazel,aehlig/bazel,safarmer/bazel,meteorcloudy/bazel,davidzchen/bazel,ButterflyNetwork/bazel,akira-baruah/bazel,perezd/bazel,aehlig/bazel,perezd/bazel,davidzchen/bazel,perezd/bazel,aehlig/bazel,dslomov/bazel-windows