SonarQube analysis with Amazon Corretto JDK

We have recently upgraded our SonarQube Enterprise version to 10.4.1. We have encountered the problem of using a minimum version of JDK 17 for the scanner. Does Amazon Corretto work in this case since it is a distribution of JDK 17 or do we specifically have to use Oracle’s JDK.

It should work. What’s the problem?