Intellij doesn't detecting java classes and it's function
已回答
IntelliJ doesn't detect java classes and its function but program runs normally i don't know why it is not even autocompleting java functions and please help me i am new to intellij and java. i am using intellij for more than 1 month on the community version and did not have any problem but i updated my intellij to the latest version and started to get this problem.

请先登录再写评论。
Don't use JetBrains Runtime for your projects, set up and use the standalone JDK as described here: https://www.jetbrains.com/help/idea/creating-and-running-your-first-java-application.html .
Locations to check for the JDK configuration:
https://i.imgur.com/Vkvh35V.png
https://i.imgur.com/SlSuslK.png
https://i.imgur.com/kliNeHR.png .
Thanks, it worked :)