Preview features enabled at an invalid source release level 13, preview can be enabled only at source level 14Java(2098258)

后端 未结 2 1563
情深已故
情深已故 2021-01-16 02:43

VS Code is showing anomalous behaviour from into my pc from the last couple of days. I am not able to run a simple java code. At the beginning it\'s it\'s giving an error:<

相关标签:
2条回答
  • 2021-01-16 03:18

    Visual Studio Code works with all major Java versions from various vendors up to 13.

    Source: https://code.visualstudio.com/docs/languages/java (OP date)

    0 讨论(0)
  • 2021-01-16 03:22

    I had the same issue and what I did: I simply cleaned the Java language server workspace, which can be achieved by doing 3 simple steps:

    1. ctrl + shift + p.

    2. Write to the command palette: Clean the Java language server workspace.

    3. Press enter (restart your VScode).

    0 讨论(0)
提交回复
热议问题