No javaHome property in Config.json #1744
-
Hi. I am getting the following error when sfdx-code-analyzer runs in VS Code:
Based on posts, the solution is to update the javaHome property in the .sfdx-scanner\Config.json file. But there isn't a "javaHome" property in my config.json. Should I add it? If so, where in the file and what should the format be? (Sorry, bit new to this.) TIA |
Beta Was this translation helpful? Give feedback.
Answered by
jfeingold35
Feb 18, 2025
Replies: 1 comment 5 replies
-
@AlexP524 , can you please confirm what version of the code analyzer you're running, by doing |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry, my bad. The command should have been
sf plugins install @salesforce/sfdx-scanner@latest
. Does that work?