Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Language Support for Java is required. Please install and enable it." -VS Code Endless loop [closed]

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?

like image 372
Roman N. Avatar asked Nov 17 '25 10:11

Roman N.


1 Answers

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.

like image 152
ZhinckIron Avatar answered Nov 19 '25 23:11

ZhinckIron



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!