VisualVM does not honour jenv
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 3.3k
- Forks
- 334
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
I have multiple JDK versions installed on my Mac. I switch between them using jenv. However, VisualVM does not pick up the JDK set on the current shell session or in its application directory.
To Reproduce
Steps to reproduce the behavior:
- Install a compatible JDK (8 or 12)
- Install an incompatible JDK (13)
- Ensure the incompatible JDK is the system JDK in jenv
- Try to run VisualVM
Expected behavior
JDK should be identified from environment variables
Desktop (please complete the following information):
- OS: [e.g. MacOS] MacOS
- Version [e.g. 1.4]1.4
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
No source files, tests, or entry points are named. Reproduce the issue on macOS with jenv using the listed compatible and incompatible JDK versions, then trace how VisualVM selects its JDK; done means it identifies the JDK from the current shell or application-directory environment instead of the incompatible system JDK.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100