redhat-developer / redhat-developer/vscode-java
Customize tooling_jre with env var
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
I have a use case where I need tooling_jre to be customizable: https://github.com/redhat-developer/vscode-java/blob/master/src/requirements.ts#L36.
I can't use the embedded ones because I need to use a custom one that has the right certs to work with an internal service. I also can't use java.jdt.ls.java.home because the location of the JRE will depend on which machine it's running on. Also, settings.json doesn't accept env variables.
Is it possible to get tooling_jre from an env var?
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 by reading src/requirements.ts around line 36 to understand how tooling_jre is selected and where the current embedded-JRE behavior is defined. Determine the environment variable and fallback behavior, then verify that tooling_jre can be customized per machine without breaking the existing configuration paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100