I can´t run any java code
Answered
Every time i want to run any code it just prints me the error message below. Does someone know what the issue might be? Do i have to fix something in my settings? I´d appreciate any help, thanks.

Please sign in to leave a comment.
See if reinstalling the IDE from https://www.jetbrains.com/idea/download/index.html helps.
Will reinstalling delete all my current projects?
No, your projects and settings will be preserved.
That fixed it, thank you. I was actually using an older version of Intellij. I thought it would update automatically. Can i make it update automatically somehow?
You can use https://www.jetbrains.com/toolbox-app/ for the automatic IDE updates.
IDE also has settings to notify you about the updates: https://www.jetbrains.com/help/idea/update.html .
Alright, thanks again for your help.