The current Bazel installer script checks for an existing JDK and errors out when it can't find one, even when using the Bazel with a bundled JDK. In that case, it shouldn't care about whether a JDK is installed or not.