Skip to main content Join us at TDX in San Francisco or on Salesforce+ on March 5-6 for the Developer Conference for the AI Agent Era. Register now.

I followed the directions in the "Set Up Visual Studio Code" section of the "Find and Fix Bugs with Apex Replay Debugger" Project. At the very end, when I search for "apex java" in the settings of Visual Studio Code, I can't find where I am supposed to "Configure Java Home Setting for Apex Support". The SF Extension Pack is downloaded. Did I miss a step or do something wrong?

Trailhead: Set Up Visual Studio Code - can't find

 

 

#Trailhead Challenges

5 answers
  1. Dec 4, 2024, 7:19 PM

    Once you have downloaded all the above, close and re-open the visual studio code and go to 

     

    In Visual Studio Code, click File > Preferences > Settings (Windows or Linux) or Code > Settings > Settings (macOS).

    1. Enter apex java in the search box.

     It should pop up. 

     

    where in you have to put in the path for your java install file it should look something like this if you're on windows

    Once you have downloaded all the above, close and re-open the visual studio code and go to In Visual Studio Code, click File > Preferences > Settings (Windows or Linux) or Code > Settings > Settings (

  2. Dec 4, 2024, 7:07 PM

    @Madelyn Yates Can you confirm, if you have installed the following: 

    1. Salesforce CLI

    2. Visual Studio code ( which you seem to have )

    3.  Java ( or JDK 21) - If you haven't done this, please do it from this link

    or this one

     

    Hope this helps!

  3. Dec 6, 2024, 3:07 PM

    Hi @Madelyn Yates,

     

    I Hope you are doing well.

     

    I am from the Trailhead help team. May I request you please let us know if any of the above responses helped you resolve the issue? If yes, kindly share the solution that helped you resolve the issue so that it might help the fellow Trailblazer's who are facing the similar issue.

     

    Else, please let us know the Trailhead module/badge that you are working on so that we can go ahead and create a case on behalf of you and can assist accordingly.

     

    Kind Regards,

    Nagendra Babu Pilli

     

    Trailblazer Help

  4. Divya Chauhan (Kcloud Technologies) Forum Ambassador
    Dec 5, 2024, 5:02 AM
0/9000