SonarQube analysis with Amazon Corretto JDK

Hi,
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 17.0.10.8.1 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?