bazelbuild / bazelbuild/rules_java

How to use `remote_java_repository` with a JDK release where Java home is nested?

Open
#102 6 comments 0 reactions 0 assignees View on GitHub
P3 question
Dominant language
Starlark
Stars
103
Forks
102
PR merge metrics
No merged PRs in 30d

Description

I'm trying to use `remote_java_repository` with GraalVM releases on MacOS.

When extracting the package the layout is of the form:
```
└── Contents
├── Home
│   ├── bin
│   │   ├── java
│   │   ├── javac
```

There are no top level symlinks into the nested `bin` directory as can be seen in the Zulu JDK releases that `remote_java_repository` is normally used with.

Would it be possible to make this rule configurable so that the path to the Java home inside the extracted distribution can be customized?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.