I am getting the following error message: error message
For some reason IntelliJ compiles plugin JAR files with JDK 11 not 8.
I have the following configuration in Project Structure: IntelliJ Project Structure view
Gradle JVM view
Java Compiler: Java compiler view
Also tried to change Boot runtime version, but in case I am using an old one IntelliJ won't open: Currently selected version of JBR version
JAVA_HOME is referencing to JDK 8:
Windows JAVA_HOME variable value
Right now I don't have any ideas what to do. Any suggestions?
IntelliJ version: 2022.3.1
Gradle Wrapper version: 3.0
JDK version: 1.8