Fix #2982: Bazel installer should not check for installed JDK if using a bundled JDK.
Fix #2982: Bazel installer should not check for installed JDK if using a bundled JDK.

PiperOrigin-RevId: 156092071

safarmer/bazel,juhalindfors/bazel-patches,akira-baruah/bazel,juhalindfors/bazel-patches,damienmg/bazel,aehlig/bazel,dslomov/bazel-windows,variac/bazel,ButterflyNetwork/bazel,twitter-forks/bazel,aehlig/bazel,twitter-forks/bazel,snnn/bazel,damienmg/bazel,cushon/bazel,twitter-forks/bazel,bazelbuild/bazel,akira-baruah/bazel,bazelbuild/bazel,bazelbuild/bazel,katre/bazel,meteorcloudy/bazel,damienmg/bazel,werkt/bazel,safarmer/bazel,ulfjack/bazel,dslomov/bazel-windows,aehlig/bazel,variac/bazel,spxtr/bazel,katre/bazel,davidzchen/bazel,twitter-forks/bazel,juhalindfors/bazel-patches,meteorcloudy/bazel,akira-baruah/bazel,cushon/bazel,aehlig/bazel,damienmg/bazel,variac/bazel,aehlig/bazel,meteorcloudy/bazel,davidzchen/bazel,dslomov/bazel,dslomov/bazel,ulfjack/bazel,dslomov/bazel,dslomov/bazel,bazelbuild/bazel,katre/bazel,werkt/bazel,werkt/bazel,variac/bazel,spxtr/bazel,spxtr/bazel,snnn/bazel,perezd/bazel,meteorcloudy/bazel,ButterflyNetwork/bazel,katre/bazel,variac/bazel,snnn/bazel,aehlig/bazel,snnn/bazel,akira-baruah/bazel,aehlig/bazel,ulfjack/bazel,werkt/bazel,spxtr/bazel,meteorcloudy/bazel,akira-baruah/bazel,ButterflyNetwork/bazel,snnn/bazel,werkt/bazel,dropbox/bazel,dslomov/bazel-windows,davidzchen/bazel,katre/bazel,juhalindfors/bazel-patches,twitter-forks/bazel,damienmg/bazel,twitter-forks/bazel,dropbox/bazel,variac/bazel,akira-baruah/bazel,ButterflyNetwork/bazel,dropbox/bazel,damienmg/bazel,cushon/bazel,juhalindfors/bazel-patches,twitter-forks/bazel,dslomov/bazel,ulfjack/bazel,safarmer/bazel,dropbox/bazel,cushon/bazel,dslomov/bazel,perezd/bazel,snnn/bazel,ulfjack/bazel,dropbox/bazel,katre/bazel,spxtr/bazel,davidzchen/bazel,bazelbuild/bazel,cushon/bazel,perezd/bazel,dslomov/bazel-windows,davidzchen/bazel,safarmer/bazel,snnn/bazel,juhalindfors/bazel-patches,dropbox/bazel,juhalindfors/bazel-patches,ButterflyNetwork/bazel,cushon/bazel,perezd/bazel,bazelbuild/bazel,safarmer/bazel,ButterflyNetwork/bazel,perezd/bazel,dslomov/bazel-windows,ulfjack/bazel,spxtr/bazel,meteorcloudy/bazel,dslomov/bazel,werkt/bazel,variac/bazel,perezd/bazel,meteorcloudy/bazel,davidzchen/bazel,spxtr/bazel,davidzchen/bazel,safarmer/bazel,dslomov/bazel-windows,ulfjack/bazel,perezd/bazel,damienmg/bazel