How do you check if Java SDK is installed on a Mac?
Is there a command line for this?
Make sure you correctly define the project's JDK and restart IntelliJ (full restart).