I downloaded language support for Java by Red Hat in Microsoft Visual Studio Code,
but I got a problem as shown in the above picture.
So I tried to set my JDK path in the settings.json
file in VSCode:
"java.home": "C:/ProgramFiles/Java/jdk1.8.0_111"
But the problem is still not solved.
Do you know how to solve this problem?
If you are using bash from VSCode, should use:
export JAVA_HOME=/c/Program\ Files/Java/jdk1.8.0_172
You can use this in the terminal there.