SonarLint is not working in Cursor

Describe the Bug

Not been able to see sonarlint issues.

Steps to Reproduce

Not been able to see sonarlint issues.

Expected Behavior

It should work in it

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.1.3 (user setup)
VSCode Version: 1.96.2
Commit: 979ba33804ac150108481c14e0b5cb970bda3260
Date: 2025-06-15T06:55:04.603Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

No - Cursor works, but with this issue

2 Likes

I’ve fixed it (temporary) on my own, as I have noticed that this issue only exists in Cursor, but not in VSCode.

So if you also have VSCode installed, you can grap the missing JRE from there.

File path for VSCode extension JRE folder:
~/.vscode/extensions/sonarsource.sonarlint-vscode-[version]/jre

copy to:
~/.cursor/extensions/sonarsource.sonarlint-vscode-[version]/jre

It’s of course only a workaround, but it is working.
Of course you could also install JRE on your own and configure the new path in the settings…

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.