Hello @iSeiryu
Regarding the community thread that you linked, one of the answers is there that the Specific JDK needs to be installed separately.
And regarding the SonarScanner for .NET documentation you linked, the first bullet in the prerequisites is Java 11 or greater.
All the best,
Čaba