luni, 12 august 2024

Building with Gradle

1. Problem

Failed to calculate the value of task ':compileJava' property 'javaCompiler'.

Cannot find a Java installation on your machine matching this tasks requirements: {languageVersion=21, vendor=any, implementation=vendor-specific} for WINDOWS on x86_64.

No locally installed toolchains match and toolchain download repositories have not been configured.

Solution:

File > Setting > Build, Execution, Deployment > Build Tools > Gradle > Gradle JVM: <choose naother JDK> 


Niciun comentariu:

Trimiteți un comentariu