Facing jdk version incompatibility issue in sonar cloud

My project uses jdk1.8

But the sonar cloud uses jdk1.11

How I can build my project from azure pipeline using jdk 1.8

How I can analyze my code using sonarcloud, which uses jdk11

Getting incompatibility error when the pipeline is run

Take a look at the documentation on Scanner Environment.