MCreator Gradle task failed (won't work)

Started by RustedPylo on

Topic category: Help with MCreator software

Last seen on 15:42, 5. Nov 2017
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
MCreator Gradle task failed (won't work)
Sat, 11/19/2016 - 00:21 (edited)

Ok, so this a Second Page about it

But i opened this one to explain myself a bit more, please forgive for the double pages.

anyways, I Installed MCreator 1.7.1 for 1.10, it loaded its things and shown me up with a wierd window: (click link below)

http://prntscr.com/d92sv7

I Clicked "OK" and this showed up (click link below)

http://prntscr.com/d92t32

And this is the Error log

   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
C:\Pylo\MCreator171>cd forge
C:\Pylo\MCreator171\forge>SET "JAVA_HOME=C:\Pylo\MCreator171\jdk64\"
C:\Pylo\MCreator171\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator171\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator171\forge>gradlew -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" cleanCache clean setupDecompWorkspace --refresh-dependencies
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html.
This mapping 'snapshot_20160518' was designed for MC 1.9.4! Use at your own peril.
#################################################
         ForgeGradle 2.2-SNAPSHOT-c438b06        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
               Powered by MCP unknown               
             http://modcoderpack.com             
         by: Searge, ProfMobius, Fesh0r,         
         R4wk, ZeuX, IngisKahn, bspkrs           
#################################################
:cleanCache
:clean UP-TO-DATE
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev
Download http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.10.2-1…
FAILURE: Build failed with an exception.
* What went wrong:
BUILD FAILED
Total time: 22.715 secs
Could not resolve all dependencies for configuration ':forgeGradleUserDevPackage'.
> Could not download forge-userdev.jar (net.minecraftforge:forge:1.10.2-12.18.2.2099)
> Could not close resource 'http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.10.2-1…;.
> Premature end of Content-Length delimited message body (expected: 4365912; received: 2547
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator171\forge>
Task completed with return code 0 in 23117 milliseconds

 

So after that, i tried again multiple times, and it worked for 1 time, but it wont let me drag the zip and i exit the program in order to open it again, and the the "Gradle task failed" showed up again.

i installed an older version of MCreator, it was 1.6.9, it worked fine! but was full of bugs and not very usuable for me.

anyways, i included this photos in order for you guys to actually read all of what i read, so maybe now you could realize and help me better then last time! 

can't wait to start working , please help :)

Windows 7 64 bit

Edited by RustedPylo on Sat, 11/19/2016 - 00:21
Last seen on 15:42, 5. Nov 2017
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Anyone?
Sun, 11/20/2016 - 14:32

Anyone?

Last seen on 17:25, 8. May 2018
Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Man... I had the same problem
Sun, 11/20/2016 - 20:25

Man... I had the same problem. But i dragged the zip forge.

What do you mean with can't drag up that file? If MCreator overlaps it, you can drag it.

 

Last seen on 15:42, 5. Nov 2017
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:Man... I had the same problem
Mon, 11/21/2016 - 13:02

@#2 you had the same problem as i had? how you figured it out evantually?

Last seen on 17:25, 8. May 2018
Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes. I have closen MCreator,
Sat, 11/26/2016 - 16:32

Yes. I have closen MCreator, dragged the zip file in a location that can be accesed, and then dragged it.

Last seen on 21:34, 31. Dec 2018
Joined Feb 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:Yes. I have closen MCreator,
Mon, 02/27/2017 - 23:09

@#3 Where do I find the "location that can be accesed"?

 

Last seen on 02:15, 1. Dec 2021
Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This mapping 'snapshot
Sun, 05/14/2017 - 05:07

This mapping 'snapshot_20161220' was designed for MC 1.11! Use at your own peril.This mapping 'snapshot_20161220' was designed for MC 1.11! Use at your own peril.

#################################################
         ForgeGradle 2.2-SNAPSHOT-7a557d2        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
               Powered by MCP unknown               
             http://modcoderpack.com             
         by: Searge, ProfMobius, Fesh0r,         
         R4wk, ZeuX, IngisKahn, bspkrs           
#################################################
:cleanCache
:clean UP-TO-DATE
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev
:extractDependencyATs SKIPPED
:extractMcpData
:extractMcpMappings
:genSrgs
:downloadClient
:downloadServer
:splitServerJar
:mergeJars
:deobfMcSRG
Applying SpecialSource...
Applying Exceptor...
:decompileMc
Error occurred during initialization of VM
Could not reserve enough space for 3145728KB object heap
:decompileMc FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':decompileMc'.
> Process 'command 'D:\Pylo\MCreator175\jdk32\bin\java.exe'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 12 mins 24.951 secs

Last seen on 20:43, 14. Feb 2024
Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Go in parameters and click
Sun, 05/14/2017 - 21:56

Go in parameters and click system info. and then click advanced system parameters to then click environnement variables and add in System Variables -  _JAVA_OPTIONS and -   Xmx-1200 (can vary)

Last seen on 18:54, 5. May 2018
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:Go in parameters and click
Wed, 05/17/2017 - 20:29

@#5 i've tried that. now compiling mods doesnt work. what do i do?

Last seen on 18:54, 5. May 2018
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:RE:Go in parameters and click
Thu, 05/18/2017 - 22:28

@#5.1.1 ​i mean

Executing gradle command: clean build
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator175>cd forge
C:\Pylo\MCreator175\forge>SET "JAVA_HOME=C:\Pylo\MCreator175\jdk64\"
C:\Pylo\MCreator175\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator175\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator175\forge>gradlew -Dorg.gradle.jvmargs="-Xms4685m -Xmx7028m" clean build 
FAILURE: Build failed with an exception.
* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/2.14/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Initial heap size set to a larger value than the maximum heap size
Picked up _JAVA_OPTIONS: -Xmx1000m
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Picked up _JAVA_OPTIONS: -Xmx1000m
C:\Pylo\MCreator175\forge>
Task completed with return code 0 in 3104 milliseconds