In IntelliJ, I\'m getting this strange error message when I try to build from the build menu
Error: java: release version 10 not supported
I got this message Java error version 12 is not supported. and I am using 11.
How did I managed to solve this issue? Go to File --> Project Structure --> Project and Change the Project Language Level to the version that you have and click and apply.