Skip to main content

VSC throwing this popup error while executing above command, for Find and Fix Bugs with Apex Replay Debuggerr > Debug your code module.Command SFDX: Update Checkpoints in Org resulted in errorJava version is 21.0.2.

File path does  not contain spaces or special characters its 

D:\Vscprojects\testt\force-app\main\default\classes\AccountService.cls 

So this issues seems to be something different.

Is there any workaround or other way to complete this module?

 

 

#Trailhead Challenges

4 件の回答
  1. 2024年3月13日 6:55

    Hi @Charudatta Mali ,

     

    Probably requires JDK version 17

     

    I couldn't find a working example for jdk1.8.

     

    The Apex Language Server, shipped as part of the Salesforce Apex Extension for VS Code, depends on the Java Platform, Standard Edition Development Kit (JDK). It requires an installation of either JDK version 17 (Recommended), JDK version 11, or JDK version 8.

     

    https://developer.salesforce.com/tools/vscode/en/vscode-desktop/java-setup

    https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007GJFoLSAX

0/9000