diff --git a/pkg/trait/jvm.go b/pkg/trait/jvm.go index a80a6bf025..68f603a064 100644 --- a/pkg/trait/jvm.go +++ b/pkg/trait/jvm.go @@ -237,7 +237,7 @@ func (t *jvmTrait) Apply(e *Environment) error { args = append(args, e.CamelCatalog.Runtime.ApplicationClass) - if pointer.BoolDeref(t.PrintCommand, true) { + if pointer.BoolDeref(t.PrintCommand, false) { args = append([]string{"exec", "java"}, args...) container.Command = []string{"/bin/sh", "-c"} cmd := strings.Join(args, " ")