Today Visual Studio Code started showing me a pop-up saying:
Java 11 or more recent is required to run. Please download and install a recent JDK.
For people who do not want to install Java 11 and keep using Java 8. You will have to install previous version of extension 'Language Support for Java(TM) by Red Hat redhat.java". The extension version should be 0.64.1 for Java 8.
Please refer the answer in the post below -
Visual Studio Code showing "Java 11 or more recent is required to run. Please download and install a recent JDK"