We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 137d923 commit 9d89b23Copy full SHA for 9d89b23
cli/src/main/java/com/devonfw/tools/ide/common/SystemPath.java
@@ -139,6 +139,14 @@ public Path findBinary(Path toolPath) {
139
String fileName = toolPath.getFileName().toString();
140
141
if (parent == null) {
142
+
143
+ for (Path path : tool2pathMap.values()) {
144
+ Path binaryPath = findBinaryInOrder(path, fileName);
145
+ if (binaryPath != null) {
146
+ return binaryPath;
147
+ }
148
149
150
for (Path path : this.paths) {
151
Path binaryPath = findBinaryInOrder(path, fileName);
152
if (binaryPath != null) {
0 commit comments