Java Programming with Microsoft Visual Studio Code

后端 未结 7 1920
终归单人心
终归单人心 2021-02-07 06:43

I downloaded language support for Java by Red Hat in Microsoft Visual Studio Code, \"enter

<
7条回答
  •  庸人自扰
    2021-02-07 07:06

    You have to restart VS Code after entering the java.home variable in the settings file.

    Alternatively, setting that variable isn't even required. You can remove it from your settings and VS Code will automatically check your user/system environment variables for JDK_HOME and JAVA_HOME.

    See "Setting the JDK" at https://marketplace.visualstudio.com/items?itemName=redhat.java

    For information on how to set the environment variables, see Environment variables for java installation

提交回复
热议问题