sudo apt-get install default-jdk-headless
doc: https://code.visualstudio.com/docs/java/java-project
Install extensions:
- Extension Pack for Java (vscjava.vscode-java-pack)
Enable Extensions:
- Java Language features (redhat.java)
- Java projects (vscjava.vscode-java-dependency)
- Maven for Java (vscjava.vscode-maven)
- Debugger for Java (vscjava.vscode-java-debug)
- https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-dependency
In the Explorer, you should now have a Java Projects view