Gradle isn't working, not sure but I think java's the problem

Started by DecepticCeast on

Topic category: Troubleshooting, bugs, and solutions

Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Gradle isn't working, not sure but I think java's the problem

Executing gradle command: build
Build info: MCreator 1.9.1, 64-bit, 8086 MB, Windows 10 - cmd, JVM 1.8.0_222, JAVA_HOME: C:\Program Files (x86)\MCreator191\jdk
25/10/2019 | 22:29:32.27 | C:\Users\User\MCreatorWorkspaces\modtest> gradlew -Dorg.gradle.java.home="C:/Program Files (x86)/MCreator191/jdk" -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" build 
Unzipping C:\Users\User\.mcreator\gradle\wrapper\dists\gradle-4.4-bin\bgaq7vklkazwgxox0hdadxbvi\gradle-4.4-bin.zip to C:\Users\User\.mcreator\gradle\wrapper\dists\gradle-4.4-bin\bgaq7vklkazwgxox0hdadxbvi
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
   at java.util.zip.ZipFile.open(Native Method)
   at java.util.zip.ZipFile.<init>(ZipFile.java:225    at java.util.zip.ZipFile.<init>(ZipFile.java:225)
   at java.util.zip.ZipFile.<init>(ZipFile.java:155    at java.util.zip.ZipFile.<init>(ZipFile.java:155)
   at java.util.zip.ZipFile.<init>(ZipFile.java:169    at java.util.zip.ZipFile.<init>(ZipFile.java:169)
   at org.gradle.wrapper.Install.unzip(Install.java:215    at org.gradle.wrapper.Install.unzip(Install.java:215)
   at org.gradle.wrapper.Install.access$600(Install.java:27    at org.gradle.wrapper.Install.access$600(Install.java:27)
   at org.gradle.wrapper.Install$1.call(Install.java:75    at org.gradle.wrapper.Install$1.call(Install.java:75)
   at org.gradle.wrapper.Install$1.call(Install.java:48    at org.gradle.wrapper.Install$1.call(Install.java:48)
   at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69    at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
   at org.gradle.wrapper.Install.createDist(Install.java:48    at org.gradle.wrapper.Install.createDist(Install.java:48)
   at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107    at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
   at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61    at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
25/10/2019 | 22:29:32.62 | C:\Users\User\MCreatorWorkspaces\modtest> 
Task completed with return code 0 in 475 milliseconds

The solution to this problem…
Sat, 10/26/2019 - 15:17

The solution to this problem and many other problems can be found in our knowledge base: https://mcreator.net/support/knowledgebase Please check the knowledge base before opening a new topic on the issue which has a known fix.