i reinstalled the whole windows system because of a trojan that i had.
I installed java JDK 21, as i need it to code minecraft plugins.
I installed the plugin MinecraftDevelopment as usual, done everything the same way i’d do it before reinstalling windows, but when i create a new project the run button is grayed out, and if i hover on it it says “the file in the editor is not runnable”.
Even by opening a project that i used to work on before resetting, the error i get is the same. What am i missing?
I tried setting the folder src as root, invalidating cache, repairing IDE, making new project, reinstalling intellij, importing spigot manually,. but nothing seems to be working.