Salesforce DX and VSCode
Last updated
Last updated
Download the
Run the installer
Download the
Run the installer
Install the
Install Java from
Confirm Java is properly installed by locating its installation directory, e.g. C:\Program Files\Amazon Corretto\jdk11.0.8_10
Next we need to set the salesforcedx-vscode-apex.java.home
setting to point the Java installation directory.
In Visual Studio Code, click File > Preferences > Settings
Enter apex java
in the search box, then under the Salesforcedx-vscode-apex > Java
Change the salesforcedx-vscode-apex.java.home
setting to the full path to your Java installation directory identified in the previous step. Note that for Visual Studio Code settings, the backslashes must be escaped (\\) but forward slashes (/) don’t.
Using the command line run: