MCreator Gradle task failed (won't work)

11 posts / 0 new
Last post
Offline
Last seen: 6 months 4 days ago
Joined: 06/12/2015 - 23:43
Gems: 47
MCreator Gradle task failed (won't work)

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-12...
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-12....
> 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 11/19/2016 - 01:21


Offline
Last seen: 6 months 4 days ago
Joined: 06/12/2015 - 23:43
Gems: 47
Anyone?

Anyone?

Offline
Last seen: 1 week 4 days ago
Joined: 08/19/2016 - 20:19
Gems: 31
Man... I had the same problem

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.

 

Offline
Last seen: 6 months 4 days ago
Joined: 06/12/2015 - 23:43
Gems: 47
RE:Man... I had the same problem

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

Offline
Last seen: 1 week 4 days ago
Joined: 08/19/2016 - 20:19
Gems: 31
Yes. I have closen MCreator,

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

MiningShark's picture
Offline
Last seen: 1 week 1 hour ago
Joined: 02/27/2017 - 22:49
Gems: 14
RE:Yes. I have closen MCreator,

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

 

Offline
Last seen: 12 hours 50 min ago
Joined: 10/30/2016 - 02:16
Gems: 64
This mapping 'snapshot

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

mega1134227's picture
Offline
Last seen: 12 hours 21 min ago
Joined: 02/11/2016 - 01:18
Gems: 31
Go in parameters and click

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)

Offline
Last seen: 1 week 1 day ago
Joined: 06/22/2016 - 01:13
Gems: 11
RE:Go in parameters and click

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

Offline
Last seen: 1 week 1 day ago
Joined: 06/22/2016 - 01:13
Gems: 11
RE:RE:Go in parameters and click

@justanotheruser PS: it's

 https://docs.gradle.org/2.14/userguide/gradle_daemon.html

Offline
Last seen: 1 week 1 day ago
Joined: 06/22/2016 - 01:13
Gems: 11
RE:RE:RE:Go in parameters and click

@justanotheruser ​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