'wsl.exe always appears multiple times in eclipse local terminal custom entries

Using eclipse 2021-06 on a windows 10 PC, when I open a local terminal, it always displays multiple rows for the wsl.exe terminal, with names like this...

enter image description here

Even when I go to the eclipse Window -> Preferences -> Terminal -> Local Terminal settings and delete these custom entries, they still continue to appear in the list.

How can I permanently delete these local terminal entries from eclipse?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source