windows 11:
important: if after you follow this video the problem is still not solved, please double check if you install the correct version of Java JDK, some components need another version of JAVA JDK.
1. install Java JDK
2. open settings
3 search environment variables
4. under advanced click environment variables
5. add C:\Program Files\Java\jdk-17.0.2\bin to Path
6. add new variable name as JAVA_HOME, value: C:\Program Files\Java\jdk-17.0.2
7. restart visual studio code
On this page of the site you can watch the video online Visual studio code error JAVA_Home is not set and no 'java' command could be found in your path with a duration of hours minute second in good quality, which was uploaded by the user E Micro Tech 25 January 2022, share the link with friends and acquaintances, this video has already been watched 54,554 times on youtube and it was liked by 472 viewers. Enjoy your viewing!