! 
this problem can occur in any program
it"s no use trying to restart the computer and reinstall vscode
environment variable:
JAVA_HOME = C:Program FilesJavajdk1.8.0_171
Path =% JAVA_HOME%bin
CLASSPATH =.;% JAVA_HOME%lib;%JAVA_HOME%libtools.jar