Hey, you need to specify the path to Java in your Cursor settings. Here’s more information:
…/Cursor/User/settings.json
“terminal.integrated.profiles.windows”: {
"java.configuration.runtimes": {
"name": "JavaSE-8",
"path": "C:\\Program Files\\OpenLogic\\jdk-8.0.442.06-hotspot"
},
},
“java.jdt.ls.java.home”: “c:\Program Files\OpenLogic\jdk-8.0.442.06-hotspot”,
“jdk.advanced.disable.nbjavac”: true