See the VS Code Tips wiki for a quick primer on getting started with VS Code. Setting up the JDK The extension requires JDK 17 or newer to run. Optionally, set a different JDK to compile and run ...
To use javax namespace, you must use a version < 4.0.0 of this plugin. From 4.0.0 it uses the jakarta namespace for xml bindings.