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

后端 未结 8 2095
庸人自扰
庸人自扰 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
    慢半拍i (楼主)
    2020-12-05 17:51

    About the Java 11 requirement:

    The Eclipse platform has decided to require Java 11 as the minimum requirement for its September 2020 release. See Upgrading the Eclipse SDK target environment for the September Eclipse release....

    Because vscode-java depends on the Eclipse JDT.LS server, that same requirement to vscode-java. But the timeline is be more aggressive: Indeed, vscode-java usually consumes JDT.LS builds that depend on bleeding edge JDT features, so effectively shipping pre-release versions of Eclipse Platform/JDT. As of July 22nd, 2020, Java 11 is now required for running vscode-java.

    This is from:https://github.com/redhat-developer/vscode-java/wiki/JDK-Requirements#java.configuration.runtimes

提交回复
热议问题