JDK 22 & Gradle 8.7

I just got issue with jdk 22 and gradle 8.7, I’m shocked when I saw it it’s not working till now and till now it’s not supported, I hope fixed this issue as soon as possible

You might want to vote and watch Support running on Java 22 · Issue #26162 · gradle/gradle · GitHub for running Gradle on Java 22.
If it is just about using Java 22 as toolchain to build your code, that should work fine according to compatibility table and if it is not, you should open an issue if there is none yet.