Skip to content

Support JAVABIN (from java_binary) as an env variable for specifying the JVM for bazel run #245

Closed
@plaird

Description

@plaird

We support the env variable BAZEL_RUN_JAVA to allow the user to override the JVM to be used for bazel run invocations. The Bazel java_binary() rule has the JAVABIN convention for the same purpose.

We should make JAVABIN as a secondary env variable that will be consulted to look for the JVM. This will take precendene over the Bazel toolchain JVM configs, and JAVA_HOME.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions