@Amir_Kibbar Maybe it will help you, but I can confirm our projects are using Java 13 and are analyzed successfully under the following setup:
- Java source and target versions are 13
-
org.sonarqube
gradle plugin version 2.8 - Analysis is performed on Jenkins using AdoptOpenJDK jdk-13.0.2+8 build
- Sonar server: sonarcloud.io
- No other significant configuration
Unfortunately, same can’t be said about Java 14. It is now a full month after GA release and Sonar still does not support it (and is the only thing blocking the upgrade in our case).
JDK14 issue is described here: Issue java 14: java.lang.NoClassDefFoundError: java/util/jar/Pack200