diff --git a/core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/AppCDSBuildStep.java b/core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/AppCDSBuildStep.java index 05daa7f5fdb25..1c124ea2039ac 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/AppCDSBuildStep.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/AppCDSBuildStep.java @@ -27,7 +27,6 @@ import io.quarkus.deployment.pkg.builditem.OutputTargetBuildItem; import io.quarkus.deployment.steps.MainClassBuildStep; import io.quarkus.runtime.LaunchMode; -import io.quarkus.runtime.util.JavaVersionUtil; import io.quarkus.utilities.JavaBinFinder; public class AppCDSBuildStep { @@ -306,10 +305,6 @@ public boolean getAsBoolean() { return false; } - if (!JavaVersionUtil.isJava11OrHigher()) { - log.warn("AppCDS can only be used with Java 11+."); - return false; - } return true; } }