cd /path/to/bazel
unzip -d bazel-0.25.0 bazel-0.25.0-dist.zip
cd bazel-0.25.0 EXTRA_BAZEL_ARGS='--host_javabase=@local_jdk//:jdk' ./compile.sh
export PATH=/path/to/bazel/bazel-0.25.0/output:$PATH
bazel version