SonarQube: Version 7.4 (build 18908)
SonarLint: 5.8.1
Client Machine: JDK 1.8.0_202
Eclipse: 2021-03R (Comes with OpenJDK 15.0.2)
Description:
The SonarLint will automatically validate the file during on-save, but it failed with errors and unable to highlights any sonar violation when using Eclipse 2021-03R default OpenJDK 15.0.2. It will work if used with Oracle JDK.
Edit the eclipse.ini file to change the -vm argument to point to the JDK
let me suggest you continue the conversation there instead of raising a new thread. I’ll close this thread and remove the “solution” mark from the other thread so the topic doesn’t automatically close.