eclipse-jdt / eclipse-jdt/eclipse.jdt.debug

Installed JREs -> Search fails when maintained locations do no longer exist

Open
#263 1 comment 0 reactions 0 assignees View on GitHub
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

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.