Gradle and setup fail

Started by Diamond Human on Thu, 09/07/2017 - 17:12

Topic category: Bugs and solutions

Last seen on 00:54, 25. Feb 2018
Joined Sep 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Gradle and setup fail
Thu, 09/07/2017 - 17:12

Gradle and setup failed:

   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. Sva prava pridr§ana.
C:\Pylo\MCreator175>cd forge
C:\Pylo\MCreator175\forge>SET "JAVA_HOME=C:\Pylo\MCreator175\jdk32\"
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="-Xms512m -Xmx1024m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
This mapping 'snapshot_20161220' was designed for MC 1.11! Use at your own peril.
#################################################
         ForgeGradle 2.2-SNAPSHOT-d13a6c8        
  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'.
BUILD FAILED
> Process 'command 'C:\Pylo\MCreator175\jdk32\bin\java.exe'' finished with non-zero exit value 1
* Try:
Total time: 3 mins 42.585 secs
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator175\forge>
Task completed with return code 0 in 224359 milliseconds

Last seen on 19:56, 11. Aug 2019
Joined Aug 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Go into preferences and drag
Thu, 09/07/2017 - 17:19

Go into preferences and drag the RAM bar to the top.

Last seen on 00:54, 25. Feb 2018
Joined Sep 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:Go into preferences and drag
Thu, 09/07/2017 - 17:24

@#1 ​wheres preferences because im new

Last seen on 19:56, 11. Aug 2019
Joined Aug 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
:/
Thu, 09/07/2017 - 17:32

:/

Last seen on 00:54, 25. Feb 2018
Joined Sep 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Thanks!
Sat, 09/09/2017 - 12:44

Thanks!

Last seen on 00:54, 25. Feb 2018
Joined Sep 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Doesn't work i cant click
Sat, 09/09/2017 - 12:58

Doesn't work i cant click preferences because MCreator is loading!

Last seen on 19:56, 11. Aug 2019
Joined Aug 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:Doesn't work i cant click
Sat, 09/09/2017 - 17:31

@#4 Then you will have to go into the mcreator files and modify the settings like that.

Last seen on 19:56, 11. Aug 2019
Joined Aug 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:RE:Doesn't work i cant click
Sat, 09/09/2017 - 17:37

@#4.1

  1. Rightclick mcreator and press 'Open file destination', or something like that.
  2. Go into the folder called 'user'.
  3. Go into the file called 'preferences.conf' with notepad++. If you don't have notepad++ (you should get it), use notepad instead.
  4. It should look like this:

xms=416
xmx=2862
ui=normal
gradleOffline=false

      5. Save it and it should work.

Last seen on 00:54, 25. Feb 2018
Joined Sep 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
The funny part is that
Sat, 09/09/2017 - 19:34

The funny part is that preferences.conf doesn't have anything so i added this:

xms=416
xmx=2862
ui=normal
gradleOffline=false

Last seen on 00:54, 25. Feb 2018
Joined Sep 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Now its stuck to deobfMcSRG
Sat, 09/09/2017 - 19:47

Now its stuck to deobfMcSRG

Last seen on 00:54, 25. Feb 2018
Joined Sep 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Never mind
Sat, 09/09/2017 - 19:51

Never mind