bazelbuild/bazel

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

Open

#11 205 ouverte le 23 avr. 2020

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)Java (4 465 forks)batch import
P3help wantedteam-Documentationteam-OSStype: documentation (cleanup)

Métriques du dépôt

Stars
 (25 384 stars)
Métriques de merge PR
 (Merge moyen 22j 20h) (77 PRs mergées en 30 j)

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

Guide contributeur