It ships with Java 9 as the minimum required, but you can use a more recent java. You can use Java version 9 - 12. You need to point Engine to the one you want to use.
https://www.wowza.com/docs/manually-install-and-troubleshoot-java-on-wowza-streaming-engine