Jump to content

[SOLVED][1.9] Forge Mdk gradle gets stuck in > Building > :decompileMc


Recommended Posts

Posted

I downloaded Forge 1.9 - 12.16.0.1836 Mdk. I extracted the zip and followed the README file to the second step. After some time it got to:

 

[b]> Building 56% > :decompileMc[/b]

 

and has been stuck there for over 15 minutes.

What should I do?

 

Here's the full text after starting step 2 of the README:

Downloading https://services.gradle.org/distributions/gradle-2.7-bin.zip

...

Unzipping /home/sakari/.gradle/wrapper/dists/gradle-2.7-bin/4s0fcuuppw3tjb1sxpzh16mne/gradle-2.7-bin.zip to /home/sakari/.gradle/wrapper/dists/gradle-2.7-bin/4s0fcuuppw3tjb1sxpzh16mne

Set executable permissions for: /home/sakari/.gradle/wrapper/dists/gradle-2.7-bin/4s0fcuuppw3tjb1sxpzh16mne/gradle-2.7/bin/gradle

Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/2.1-SNAPSHOT/ForgeGradle-2.1-20160401.201315-35.pom

Download https://jcenter.bintray.com/com/github/abrarsyed/jastyle/jAstyle/1.3/jAstyle-1.3.pom

Download http://files.minecraftforge.net/maven/net/minecraftforge/fernflower/2.0-SNAPSHOT/fernflower-2.0-20151214.100946-17.pom

Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/2.1-SNAPSHOT/ForgeGradle-2.1-20160401.201315-35.jar

Download https://jcenter.bintray.com/com/github/abrarsyed/jastyle/jAstyle/1.3/jAstyle-1.3.jar

Download http://files.minecraftforge.net/maven/net/minecraftforge/fernflower/2.0-SNAPSHOT/fernflower-2.0-20151214.100946-17.jar

#################################################

        ForgeGradle 2.1-SNAPSHOT-da90449       

  https://github.com/MinecraftForge/ForgeGradle 

#################################################

              Powered by MCP unknown             

            http://modcoderpack.com           

        by: Searge, ProfMobius, Fesh0r,       

        R4wk, ZeuX, IngisKahn, bspkrs         

#################################################

:deobfCompileDummyTask

:deobfProvidedDummyTask

:getVersionJson

:extractUserdev

Download http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.9-12.16.0.1836-1.9/forge-1.9-12.16.0.1836-1.9.pom

Download http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.9-12.16.0.1836-1.9/forge-1.9-12.16.0.1836-1.9-userdev.jar

:extractDependencyATs SKIPPED

:extractMcpData

Download http://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp/1.9/mcp-1.9-srg.zip

:extractMcpMappings

Download http://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp_snapshot/20160312-1.9/mcp_snapshot-20160312-1.9.zip

:genSrgs

:downloadClient

:downloadServer

:splitServerJar

:mergeJars

:deobfMcSRG

Applying SpecialSource...

Applying Exceptor...

:decompileMc

Download https://libraries.minecraft.net/oshi-project/oshi-core/1.1/oshi-core-1.1.pom

Download https://repo1.maven.org/maven2/net/java/dev/jna/jna/3.4.0/jna-3.4.0.pom

Download https://repo1.maven.org/maven2/net/java/dev/jna/platform/3.4.0/platform-3.4.0.pom

Download https://repo1.maven.org/maven2/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.pom

Download https://repo1.maven.org/maven2/io/netty/netty-all/4.0.23.Final/netty-all-4.0.23.Final.pom

Download https://repo1.maven.org/maven2/io/netty/netty-parent/4.0.23.Final/netty-parent-4.0.23.Final.pom

Download https://libraries.minecraft.net/com/mojang/authlib/1.5.22/authlib-1.5.22.pom

Download https://libraries.minecraft.net/com/mojang/realms/1.8.7/realms-1.8.7.pom

Download https://libraries.minecraft.net/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.pom

Download https://repo1.maven.org/maven2/jline/jline/2.13/jline-2.13.pom

Download https://repo1.maven.org/maven2/org/scala-lang/modules/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.pom

Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.pom

Download https://libraries.minecraft.net/org/lwjgl/lwjgl/parent/2.9.4-nightly-20150209/parent-2.9.4-nightly-20150209.pom

Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.pom

Download https://libraries.minecraft.net/java3d/vecmath/1.5.2/vecmath-1.5.2.pom

Download https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom

Download https://repo1.maven.org/maven2/org/fusesource/jansi/jansi-project/1.11/jansi-project-1.11.pom

Download https://repo1.maven.org/maven2/org/fusesource/fusesource-pom/1.8/fusesource-pom-1.8.pom

Download https://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.pom

Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209.pom

Download https://libraries.minecraft.net/oshi-project/oshi-core/1.1/oshi-core-1.1.jar

Download https://repo1.maven.org/maven2/net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar

Download https://repo1.maven.org/maven2/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar

Download https://repo1.maven.org/maven2/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar

Download https://repo1.maven.org/maven2/io/netty/netty-all/4.0.23.Final/netty-all-4.0.23.Final.jar

Download https://libraries.minecraft.net/com/mojang/authlib/1.5.22/authlib-1.5.22.jar

Download https://libraries.minecraft.net/com/mojang/realms/1.8.7/realms-1.8.7.jar

Download https://libraries.minecraft.net/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar

Download https://repo1.maven.org/maven2/jline/jline/2.13/jline-2.13.jar

Download https://repo1.maven.org/maven2/org/scala-lang/modules/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.jar

Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar

Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar

Download https://libraries.minecraft.net/java3d/vecmath/1.5.2/vecmath-1.5.2.jar

Download https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar

Download https://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar

Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-windows.jar

Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-linux.jar

Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-osx.jar

> Building 56% > :decompileMc

 

P.S. I didn't get the spoiler to work  :P

Posted

Oh and I'm running Ubuntu 14.04 and if you are not familiar with Linux and are wondering what sakari is it's my username

Posted

You need to assign more memory to gradle. In windows you do this through environment variables. -GradleOpts i think. I don't know how to do this on linux though. I think different distros, set-up things differently.

Posted
This tutorial explains how to set up a ForgeGradle workspace, including how to give Gradle more memory.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

How long should the decompilation take? My computer doesn't say anything about RAM or that error in the tutorial. It just does nothing, the terminal seems to freeze but Ctrl+C kills the process.

Posted

Hi, while decompiling does take longer than the other processes, not that much longer. First, kill the process if it is still running. As Cerandior stated, try assigning gradle more memory. You can do this by creating a file called gradle.properties in the same folder as gradlew. In the new file, add this line:

 

org.gradle.jvmargs=-Xmx2048M

 

This will assign gradle 2 GB of memory, which should hopefully be enough to decompile MC in less time. After creating the new file and adding this line, try to setup the workspace again.

Posted

I already assigned some more memory for it, and I assume 2048M is the same as 2G. I have had the decomp running again for about half an hour and it's still stuck there.

 

EDIT: Oh, but I have the .properties in the .gradle folder. Should it be in the main directory where all the Forge stuff is ('eclipse', 'gradle', 'src' etc.)?

 

EDIT 2: OK thanks, SteakHead! I misread the tutorial, but you made me realize that gradle.properties has to be either in ~/.gradle or in the directory I extracted the .zip. But anyway, thanks to you all for your answers!

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.