Topic category: Troubleshooting, bugs, and solutions
Im struggling to test my mod, whenever I try to export it it fails due to my mod having errors, and it won't run a Minecraft client environment. looking at the console, it looks like a file location problem, but I don't know how to fix it.
Executing gradle command: clean runClient
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator178>cd forge
C:\Pylo\MCreator178\forge>SET "JAVA_HOME=C:\Pylo\MCreator178\jdk\"
C:\Pylo\MCreator178\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator178\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator178\forge>SET "GRADLE_USER_HOME=C:\Users\Mocktels\.mcreator\gradle"
C:\Pylo\MCreator178\forge>gradlew -Dorg.gradle.jvmargs="-Xms512m -Xmx1500m" clean runClient
Unzipping C:\Users\Mocktels\.mcreator\gradle\wrapper\dists\gradle-2.14-bin\76oc0mnc3ieqtsukq90mp0rxk\gradle-2.14-bin.zip to C:\Users\Mocktels\.mcreator\gradle\wrapper\dists\gradle-2.14-bin\76oc0mnc3ieqtsukq90mp0rxk
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
(this part is in green)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:225)
at java.util.zip.ZipFile.(ZipFile.java:155)
at java.util.zip.ZipFile.(ZipFile.java:169)
at org.gradle.wrapper.Install.unzip(Install.java:159)
at org.gradle.wrapper.Install.access$500(Install.java:26)
at org.gradle.wrapper.Install$1.call(Install.java:69)
at org.gradle.wrapper.Install$1.call(Install.java:46)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
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)
(end of green)
C:\Pylo\MCreator178\forge>
you have to go to your lokal disc then on pylo and then on gradle then on 2.0 and then task artifacts and rename
cache.properties.lock in cache.properties.bin
The only thing in the Pylo file is an MCreator folder, which does contain a Forge file, which has a gradle folder, but that folder only has a wrapper folder, containing gradle-wrapper and gradle-wrapper.properties. I can't find a cache.properties anywhere.
I also don't have Forge installed yet, could that be causing the issue?