Jump to content

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


Zakru

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.