This message was deleted.
# community-support
s
This message was deleted.
v
What is the exact error you get?
And does it build on command-line?
u
the exact error is
gradle coudnot able to create lock file
Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-8.0-bin.zip'. The cached zip file C:\Users\HP\.gradle\wrapper\dists\gradle-8.0-bin\ca5e32bp14vu59qr306oxotwh\gradle-8.0-bin.zip may be corrupted.
Could not create parent directory for lock file C:\Program Files (x86)\Java\jdk1.8.0_201\bin\wrapper\dists\gradle-8.0-bin\ca5e32bp14vu59qr306oxotwh\gradle-8.0-bin.zip. lck
v
Yeah,
C:\Program Files (x86)
is a protected diretory where you can only write as administrator. It seems that you defined
C:\Program Files (x86)\Java\jdk1.8.0_201\bin
as
GRADLE_USER_HOME
environment variable, or via
gradle.properties
file.
u
yes
v
Yeah, that is not going to work. And you should maybe not use a 32-bit Java nowadays.
GRADLE_USER_HOME
is where Gradle stores its caches, not the Java it uses. The default is
~/.gradle
.
What you probably meant to set was
JAVA_HOME
u
oh ok let me try
v
And there not including the
bin
u
it is resolved thank you so much
👌 1