I have Java 11.0.7 and gradle 6.8 installed. When I run gradlew build for a java project, I get error:
FAILURE: Build failed with an exception.
What went wrong:
Could not determine java version from ‘11.0.7’.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Get more help at https://help.gradle.org
Whats wrong here?