bazelbuild/bazel

(docu) clarify if openjdk-11 is expected to work

Open

#11.205 aberto em 23 de abr. de 2020

Ver no GitHub
 (3 comments) (0 reactions) (0 assignees)Java (4.465 forks)batch import
P3help wantedteam-Documentationteam-OSStype: documentation (cleanup)

Métricas do repositório

Stars
 (25.384 stars)
Métricas de merge de PR
 (Mesclagem média 22d 20h) (77 fundiu PRs em 30d)

Description

Description of the problem / feature request:

I'm bootstrapping on ARM/aarch64 because there are no binaries. The Bootstrapping docu claims:

You must install version 8 of the JDK. Versions other than 8 are not supported.

Debian (Buster) has no packages for JDK 8 (for aarch64), so I installed openjdk-11 instead. It seems to work fine.

This would be great to know in advance. The docu implies that my only option is to build JDK8 first, which would be quite an extra step.

It also claims that I need:

EXTRA_BAZEL_ARGS="--host_javabase=@local_jdk//:jdk"

which I've omitted. The build was successful.

What operating system are you running Bazel on?

Linux (aarch64, Debian Buster)

What's the output of bazel info release?

release 3.1.0- (@non-git)

If bazel info release returns "development version" or "(@non-git)", tell us how you built Bazel.

Downloaded the .zip and ran ./compile.sh with no arguments.

What's the output of git remote get-url origin ; git rev-parse master ; git rev-parse HEAD ?

not a git repository

Guia do colaborador