Visual Studio Code showing “Java 11 or more recent is required to run. Please download and install a recent JDK”

后端 未结 8 2094
庸人自扰
庸人自扰 2020-12-05 17:28

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.

8条回答
  •  猫巷女王i
    2020-12-05 17:36

    Change from

    "java.home": "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home"

    to

    "java.home": "/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home"

    and keep the rest of the settings as is.

提交回复
热议问题