My Visual Studio code is configured to use the 32-bit version of the JDK
By default, java.exe is installed in your% SYSTEMROOT% \ System32
Check java version from command line:
java -version
You may need to add your version in PATH :
set PATH =% PATH%; C: \ Program Files (x86) \ Java \ jdk1.8.0_111 \ bin
And install your JAVA_HOME system:
setx -m JAVA_HOME "C: \ Program Files (x86) \ Java \ jdk1.8.0_111"
Restart cmd and try:
echo% JAVA_HOME%
Restart Visual Studio Code and be happy.
Use set instead of setx for the local user.
source share