I just installed java 11 coz VS code was prompting me to update it to java 11 or newer version. After installing java 14, I'm not getting how to change the path to new folder that has java 14.
In settings.json file the path can be seen when cursor hovered over java.home variable.

For those coming now, in VSCode settings change "java.home" to "java.jdt.ls.java.home"
From
"java.home": "C:\\Program Files\\Java\\jdk-17.0.2"
To
"java.jdt.ls.java.home": "C:\\Program Files\\Java\\jdk-17.0.2",
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With