ERROR: cmd.exe failed with args Gradle

I got the same problem, but the JDK version of 1.8.0_202 fixed this issue. Thank you.