diff --git a/core/deployment/src/main/java/io/quarkus/deployment/ide/IdeProcessor.java b/core/deployment/src/main/java/io/quarkus/deployment/ide/IdeProcessor.java index 56903f48406653..ea09fc65656a90 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/ide/IdeProcessor.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/ide/IdeProcessor.java @@ -104,7 +104,7 @@ public EffectiveIdeBuildItem effectiveIde(LaunchModeBuildItem launchModeBuildIte } if (matches.size() == 1) { result = matches.get(0); - } else if (matches.size() == 0 && runningIdes.size() > 0) { + } else if ((matches.size() == 0 && runningIdes.size() > 0) || matches.size() > 1) { result = runningIdes.iterator().next(); } }