79410662

Date: 2025-02-04 05:37:31
Score: 1
Natty:
Report link

Adding to above answers,

  1. if you don't have a multi-module project with different JDKs assigned to each module you can just uncheck this like in below image

    Settings -> Java Compiler -> [uncheck] Use compiler from module target JDK when possible

  2. when this option is disabled, IntelliJ IDEA will use the Project JDK to compile all modules, regardless of the JDK assigned to each individual module.

intellij settings

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Gopinathsgn