Gradle Error - FileNotFoundException gradle-2.14-bin.zip.lck

Published by fapdos123 on Sun, 03/11/2018 - 16:17
Status
Works as designed
Type
Product/platform
Not applicable
Priority
Normal
Issue description

When i do something a error appears in the console,here's the error:

Executing gradle command: clean build
Microsoft Windows [Versi¢n 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Reservados todos los derechos.
C:\Pylo>cd forge
C:\Pylo\forge>SET "JAVA_HOME=C:\Pylo\jdk\"
C:\Pylo\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\forge>SET "GRADLE_USER_HOME=C:\Users\María José\.mcreator\gradle"
C:\Pylo\forge>gradlew -Dorg.gradle.jvmargs="-Xms512m -Xmx1500m" clean build 
Exception in thread "main" java.io.FileNotFoundException: C:\Users\MarÝa JosÚ\.mcreator\gradle\wrapper\dists\gradle-2.14-bin\76oc0mnc3ieqtsukq90mp0rxk\gradle-2.14-bin.zip.lck (El sistema no puede encontrar la ruta especificada)
   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:46)
   at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:126)
   at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
C:\Pylo\forge>
Task completed with return code 0 in 861 milliseconds

 

Please how can i fix it? i can't do anything!

Attachment Size
Error in console (screenshot)53.12 KB 53.12 KB

Issue comments

This is a gradle related bug, not MCreator. You could solve this by going into your user directory, in .mcreator folder and remove the gradle folder. You did not specify platform so I can not be more exact on this.

Check these pages for more information:

It could also be internet connection issue.

I did what you said,it didn't work,mcreator keep doing a file called ''gradle'' but it's empty,the error is still there.

My pc: windows7 (home premium)

using: java 8

Mcreator in: COMPAQ (C:) -> Pylo



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.