you can try on a latest archetype and change the java version in parent pom..i am just guessing ..may be you can give a try .. and also try on a latest aem service pack ..let me know the results ..
Thank for your answer, but that is not what I'm searching for.
I wan't to actually run our AEM instances on Java 17. I will not try this if Adobe does not officially support this. I think no enterprise will do that.