Skip to content

Only use JAVA_HOME/@local_jdk as the default --javabase #5594

@brian-peloton

Description

@brian-peloton

Description of the problem / feature request:

Since 849df36, bazel will always pick up a JDK from which javac or $JAVA_HOME in preference to an embedded one for @local_jdk//. I want to always use the embedded one instead. A startup option to do this would be fine.

Feature requests: what underlying problem are you trying to solve with this feature?

I version the bazel binary in my repository. I want this to fix the version of the JDK being used too, like it did before.

What operating system are you running Bazel on?

Debian Jessie amd64

What's the output of bazel info release?

release 0.15.0-peloton-201807111305+9c52124

This is 0.15.0 with a few local patches that aren't relevant.

Have you found anything relevant by searching the web?

@cushon changed this.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions