1.7.3 (1.7.10) Gradle Error:

Started by lazydude5 on Mon, 01/28/2019 - 02:27

Topic category: Troubleshooting, bugs, and solutions

Last seen on 01:57, 14. Feb 2020
Joined Feb 2016

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
1.7.3 (1.7.10) Gradle Error:
Mon, 01/28/2019 - 02:41 (edited)

Executing gradle command: build
Microsoft Windows [Version 10.0.17134.523]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator173>cd forge
C:\Pylo\MCreator173\forge>SET "JAVA_HOME=C:\Pylo\MCreator173\jdk64\"
C:\Pylo\MCreator173\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator173\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator173\forge>gradlew -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" build
Exception in thread "main" java.io.FileNotFoundException: C:\Program Files (x86)\Gradle Folder\wrapper\dists\gradle-2.0-bin\5h57m9vra0mjv9qs45oqtsb5c0\gradle-2.0-bin.zip.lck (Access is denied)
   at java.io.RandomAccessFile.open0(Native Method)
   at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
   at java.io.RandomAccessFile.(RandomAccessFile.java:243)
   at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:49)
   at org.gradle.wrapper.Install.createDist(Install.java:44)
   at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:126)
   at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:56)
Task completed with return code 0 in 503 milliseconds


It appears that a file called gradle-2.0-bin.zip.lck is not present. Is there a way i can download that file?

Edited by lazydude5 on Mon, 01/28/2019 - 02:41
Go to C:\Program Files (x86)…
Mon, 01/28/2019 - 13:30

Go to C:\Program Files (x86)\Gradle Folder\wrapper\dists\ and delete all files in it and try again. Gradle will redownload it.