Bump bazel version to 4.2.2 and simplify logic to find java toolchain
Bump bazel version to 4.2.2 and simplify logic to find java toolchain

PiperOrigin-RevId: 421526829

google/jsinterop-base,google/jsinterop-base,google/jsinterop-base