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:<
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)
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:
ctrl + shift + p.
Write to the command palette: Clean the Java language server workspace.
Press enter (restart your VScode).