SonarQube has an analytics side and a server-side to it. While the SonarQube server-side only supports Java 11 JDK, and SonarQube 8 analytics side still gives support for Java 8.
Enroll in a good DevOps certification course if you are interested to break into the DevOps domain, and watch the following video on What is SonarQube? Made by industry experts to give you more insights.