eclipse-jdt / eclipse.jdt.debug

Eclipse Public License 2.0
16 stars 46 forks source link

Spurious auto-detected JVMs #405

Open ewillink opened 6 months ago

ewillink commented 6 months ago

As requested on https://github.com/eclipse-jdt/eclipse.jdt.debug/issues/393#issuecomment-1948139539 the auto-detected installed JREs have gratuitous entries.

305383257-8a1cb896-f856-4ae4-992b-f571c4f46dc8

It looks like redundant poorly named JRE entries are created for JDKs.

Eclipse SDK

Version: 2023-12 (4.30) Build id: I20231201-0110

rgrunber commented 5 months ago

image

I see this as well, although there was an instance where I needed to rediscover JVMs under /usr/lib/jvm/ and after the search it ended up looking like :

image

Many of these are symlinks so at least on Linux/MacOS, it's definitely possible to reduce all entries to their canonical path to avoid duplicates.