eclipse-jdt / eclipse-jdt/eclipse.jdt.debug
Installed JREs -> Search fails when maintained locations do no longer exist
Open
- Dominant language
- Java
- Stars
- 23
- Forks
- 68
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 13
Description
When I trigger the "Search" from the "Installed JREs" preferences page it doesn't work (i.e. won't add newly installed JRE locations) in case the existing list contains orphan locations.
The log exposes something like
```
Could not determine Java version for location /Library/Java/JavaVirtualMachines/temurin-16.jdk/Contents/Home.
```
in that case and no new JREs are added.
I would expect that
1) Newly added JREs are still detected and added to the list
2) Orphan entries are automatically removed from the list
Contributor guide
Assessment
This issue has not been assessed yet.