Java runtime could not be located in visual studio code Salesforce - Salesforce Globe For You
Solution: This error generally occurs in case if java is not installed or java path is not set correctly.
Step 1: Go to the folder where java is installed and copy the url till bin folder as shown below
C:\Program Files\Java\jdk-17.0.1\bin
Step 2: Open the vs code
Go to File--> Preferences --> Settings
Search with Java home and you will get the screen as shown below
Set the java:home path by coping the url as shown in the image below
That's it.The issue gets resolved.
No comments:
Post a Comment