function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sandhya Marella 4Sandhya Marella 4 

vs code errori am facing an issue with my vs code , while i am saving the apex class getting an error like "Static Analysis Failed. Error Details: PMD Command Failed! Enable "Show StdErr" setting for more info."

Sai PraveenSai Praveen (Salesforce Developers) 
Hi Sandhya,

Did you get chance to look into this suggestions to overcome the issue.

https://github.com/ChuckJonas/vscode-apex-pmd/issues/34

If this solution helps, Please mark it as best answer.

Thanks,
 
Sandhya Marella 4Sandhya Marella 4
Hi sai praveen,
thanks for your quick replay,
i dnt know how to set those paths can you please give me the detail setps.

thanks in advance
 
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Sandhya,

Can you check which jdk and jre versions were installed and if not install the latest onces.(1.8 version) . Can you confirm if Show StdEr is enabled or not in vs code.

Thanks,
 
Sandhya Marella 4Sandhya Marella 4
hi praveen,
it was enabled alredy.