Difficulty building source code in IntelliJ

Env: OS: win10(10.0.18363.1316 showed by cmd) jdk: jdk11.0.10(AdoptOpenJDK) gradle: 6.7.1 idea: 2020.2 build was based on commit: e4dc863ad09ed942430c4775623eda2867d9800d

I have followed this https://github.com/spring-projects/spring-framework/wiki/Build-from-Source#before-you-start 1.Problem presentation (annotation from jdk.jfr in FlightRecorderStartupEvent.java was not exist) Spring Difficulty building source code in IntelliJ 2.using jdk Spring Difficulty building source code in IntelliJ 3.gradle setting Spring Difficulty building source code in IntelliJ 4.my JAVA_HOME Spring Difficulty building source code in IntelliJ

am i using wrong jdk setting? Why can't I run my demo.Hope to get a reply

Comment From: mdeinum

You did follow the guidelines on how to import into Intellij? That being said the language level should be JDK8 and not JDK11 although I believe it should work JDK11 when set to the correct language level.

Comment From: DA1Y1

You did follow the guidelines on how to import into Intellij? That being said the language level should be JDK8 and not JDK11 although I believe it should work JDK11 when set to the correct language level.

Thank u! I only noticed the newer JDK version. Problem can be solved with JDK 8 update 262. However i still can't understand why jdk11.0.10 doesnt work in my environment