We have an on-prem AEM 6.3 installation running with Oracle Java 8.
We are now performing in-place upgrade to AEM 6.5. For the upgrade procedure we use the same java version 8.
Once the in-place upgrade is done, we want to restart our AEM 6.5 instance with Java 11.
This does not seem to work as we are getting a lot of errors related to "(java.lang.NoClassDefFoundError: jdk/internal/reflect/MethodAccessorImpl)". Reverting back to Java 8 also doesn't work anymore. It seems that when we try to boot the AEM 6.5 instance with Java 11, it corrupts the launchpad.
My question is: how to upgrade Java version after an AEM in-place upgrade? Is this a supported flow or will AEM 6.5 only work with Java 11 when it was initially installed with Java 11? So not in case of an in-place upgrade?