Allow --java-home to be relative
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 205
- Forks
- 129
- PR merge metrics
- No merged PRs in 30d
Description
I think --java-home needs to be absolute, or it doesn't keep the relative directory when it changes working directory, but then it's hard to understand why it isn't working.
Could we relax that requirement, and allow it to be relative, perhaps by making it absolute when the mx command starts?
Failing that, could we warn the user when they give a relative path?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the command-line handling for --java-home and trace how the path is used after mx changes its working directory. Confirm the desired behavior for relative paths, then verify that a relative value is resolved consistently or that the user receives a warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100