Intellij doesn't detecting java classes and it's function

Answered

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.

2
2 comments

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 .

2
Avatar
Permanently deleted user

Thanks, it worked :)

0

Please sign in to leave a comment.