In VS Code, every time I run any of my Java programs, I get this error at the bottom right corner. Whenever I press "install", I get prompted to reload the window, but when I do this and try running again, it gives me the same error. Under "Java Projects" in the bottom left corner, it also says to install the Extension Pack for Java, even though I already have that installed too.
I have Java JDK 17 and all of the required extensions for VS Code, plus I've added Java to my Mac's PATH variable, but to no avail. Restarting VS Code doesn't work either. Any other suggestions?
I solved this problem uninstalling and installing again the extension and all its dependences. If you have also installed "Extension Pack for Java" then start by uninstalling that extension first.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With