I've installed the 1.7.2 forge setup on Mac (And I am currently on a Mac so you're in luck). Follow Each step and if you have any questions, quote the specific step, not the whole post.
Setup:
Step 1: If you tried to download files before this and failed, delete all the files you downloaded and created and start fresh and new.
Step 2: Go to the files Forge Website[Click Here!] and download the recommended (or latest if you want) 1.7.2 src. Like So:
Step 3: After you finish downloading that, you should get something similar to the first picture below. Open up Terminal and type in "cd [the directory that the gradlew file is in]" then hit Return. After that, the directory on the left side will change, after that type in"bash [drag the gradlew file to the screen]" and click Return again. It will show something line the second picture below.
Step 4: It will download a bunch of files and when it's done downloading, You should see this below:
Step 5: Type in the command: "bash gradlew setupDecompWorkspace" and hit Return. After that's done setting up, run "bash gradlew eclipse", then Return. After that, type in "bash gradlew setupDecompWorkspace" again, because of the forge src. Then when thats done, If you want to be sure, you could run that same command again. Just to be sure, I would recommend it.
Step 6: Open up Eclipse and point to the "eclipse" folder in the downloaded forge folder. When eclipse starts up and opens, You could see the example code, they gave, and all other dependencies. In the dependancies you could see the jar file "forge-src". If you open that up, you'll see all the Minecraft code!
Let me know if there were any problems, or if I did something wrong. I will fix it right away!
This might be a problem from a previously downloaded file, Did you try downloading this all before? If so, delete all the files that were downloaded and completely restart. To delete the .gradle file in your user home directory, you might have to enable hidden files to delete it. This is what I would do. I also see that is says (Permission denied) so that's why It might have to be deleted and restarted all again. May I also see some of your Mac Specs? If you're comfortable with it, Of course.
Unless, the actual program doesn't start, let me know. If not: this will have to do with actual minecraft and actual modding, try posting a new thread with this whole report. in it's corresponding topic. Thanks!
i don't know what hidden files u are talking about also i tried putting everything in the trash and emptied it and i tried your thing again but it still gave the same error what should i do?
You will have to enable showing hidden files. To do so, follow this tutorial. Once you have hidden files show on your Mac, (to make sure, go to your desktop and you'll see the .DS_Store and .localized files there, if not, you might not have done it right) you go to this directory: "/Users/owner/.gradlew" Delete that directory, and redo the whole setup. If this doesn't work, let me know. It might be something personal! I'd love to help you out with!
From the line Java heap space, I would have to guess that Java ran out of memory. This means that not enough memory is being allocated to program. Search online for Java heap space and see any solutions you can come up with.
Setup:
Step 1: If you tried to download files before this and failed, delete all the files you downloaded and created and start fresh and new.
Step 2: Go to the files Forge Website[Click Here!] and download the recommended (or latest if you want) 1.7.2 src. Like So:
Step 3: After you finish downloading that, you should get something similar to the first picture below. Open up Terminal and type in "cd [the directory that the gradlew file is in]" then hit Return. After that, the directory on the left side will change, after that type in"bash [drag the gradlew file to the screen]" and click Return again. It will show something line the second picture below.
Step 4: It will download a bunch of files and when it's done downloading, You should see this below:
Step 5: Type in the command: "bash gradlew setupDecompWorkspace" and hit Return. After that's done setting up, run "bash gradlew eclipse", then Return. After that, type in "bash gradlew setupDecompWorkspace" again, because of the forge src. Then when thats done, If you want to be sure, you could run that same command again. Just to be sure, I would recommend it.
Step 6: Open up Eclipse and point to the "eclipse" folder in the downloaded forge folder. When eclipse starts up and opens, You could see the example code, they gave, and all other dependencies. In the dependancies you could see the jar file "forge-src". If you open that up, you'll see all the Minecraft code!
Let me know if there were any problems, or if I did something wrong. I will fix it right away!
Hello!
Hello!
Hello!
Last login: Fri Jan 30 20:20:18 on ttys000
Macintosh-734:~ test2$ cd /Users/test2/Downloads/forge-1-2
Macintosh-734:forge-1-2 test2$ bash gradlew setupDecompWorkspace
Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/ForgeGradle-1.2-20150129.040123-251.pom
Download https://oss.sonatype.org/content/repositories/snapshots/net/md-5/SpecialSource/1.7.3-SNAPSHOT/SpecialSource-1.7.3-20150128.072626-3.pom
Download http://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/9/oss-parent-9.pom
[Fatal Error] oss-parent-9.pom:2:10: Already seen doctype.
Download http://repo1.maven.org/maven2/net/sf/opencsv/opencsv/2.3/opencsv-2.3.pom
[Fatal Error] opencsv-2.3.pom:2:10: Already seen doctype.
Download http://repo1.maven.org/maven2/com/github/jponge/lzma-java/1.3/lzma-java-1.3.pom
[Fatal Error] lzma-java-1.3.pom:2:10: Already seen doctype.
Download http://repo1.maven.org/maven2/com/github/abrarsyed/jastyle/jAstyle/1.2/jAstyle-1.2.pom
[Fatal Error] jAstyle-1.2.pom:2:10: Already seen doctype.
Download http://repo1.maven.org/maven2/net/sf/trove4j/trove4j/2.1.0/trove4j-2.1.0.pom
[Fatal Error] trove4j-2.1.0.pom:2:10: Already seen doctype.
Download http://repo1.maven.org/maven2/com/cloudbees/diff4j/1.1/diff4j-1.1.pom
[Fatal Error] diff4j-1.1.pom:2:10: Already seen doctype.
Download http://repo1.maven.org/maven2/com/github/tony19/named-regexp/0.2.3/named-regexp-0.2.3.pom
[Fatal Error] named-regexp-0.2.3.pom:2:10: Already seen doctype.
Download http://repo1.maven.org/maven2/org/ow2/asm/asm-debug-all/5.0.3/asm-debug-all-5.0.3.pom
[Fatal Error] asm-debug-all-5.0.3.pom:2:10: Already seen doctype.
Download http://repo1.maven.org/maven2/com/nothome/javaxdelta/2.0.1/javaxdelta-2.0.1.pom
[Fatal Error] javaxdelta-2.0.1.pom:2:10: Already seen doctype.
Download http://files.minecraftforge.net/maven/net/minecraftforge/srg2source/Srg2Source/3.2-SNAPSHOT/Srg2Source-3.2-20150109.190932-47.pom
Download http://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.pom
[Fatal Error] httpclient-4.3.3.pom:2:10: Already seen doctype.
Download http://repo1.maven.org/maven2/com/google/code/gson/gson/2.2.4/gson-2.2.4.pom
[Fatal Error] gson-2.2.4.pom:2:10: Already seen doctype.
Download http://repo1.maven.org/maven2/com/google/guava/guava/18.0/guava-18.0.pom
[Fatal Error] guava-18.0.pom:2:10: Already seen doctype.
Download http://repo1.maven.org/maven2/org/apache/httpcomponents/httpmime/4.3.3/httpmime-4.3.3.pom
[Fatal Error] httpmime-4.3.3.pom:2:10: Already seen doctype.
Download http://repo1.maven.org/maven2/net/sf/jopt-simple/jopt-simple/4.5/jopt-simple-4.5.pom
[Fatal Error] jopt-simple-4.5.pom:2:10: Already seen doctype.
Download http://repo1.maven.org/maven2/org/eclipse/core/jobs/3.5.300-v20130429-1813/jobs-3.5.300-v20130429-1813.pom
[Fatal Error] jobs-3.5.300-v20130429-1813.pom:2:10: Already seen doctype.
Download http://repo1.maven.org/maven2/org/eclipse/osgi/3.9.1-v20130814-1242/osgi-3.9.1-v20130814-1242.pom
[Fatal Error] osgi-3.9.1-v20130814-1242.pom:2:10: Already seen doctype.
Download http://repo1.maven.org/maven2/org/eclipse/core/contenttype/3.4.200-v20130326-1255/contenttype-3.4.200-v20130326-1255.pom
[Fatal Error] contenttype-3.4.200-v20130326-1255.pom:2:10: Already seen doctype.
Download http://repo1.maven.org/maven2/org/eclipse/core/resources/3.2.1-R32x_v20060914/resources-3.2.1-R32x_v20060914.pom
[Fatal Error] resources-3.2.1-R32x_v20060914.pom:2:10: Already seen doctype.
Download http://repo1.maven.org/maven2/org/eclipse/equinox/common/3.6.200-v20130402-1505/common-3.6.200-v20130402-1505.pom
[Fatal Error] common-3.6.200-v20130402-1505.pom:2:10: Already seen doctype.
Download http://repo1.maven.org/maven2/org/eclipse/text/org.eclipse.text/3.5.101/org.eclipse.text-3.5.101.pom
[Fatal Error] org.eclipse.text-3.5.101.pom:2:10: Already seen doctype.
[Fatal Error] common-3.6.200-v20130402-1505.pom:2:10: Already seen doctype.
[Fatal Error] common-3.6.200-v20130402-1505.pom:2:10: Already seen doctype.
Download http://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
[Fatal Error] oss-parent-7.pom:2:10: Already seen doctype.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'forge-1-2'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not resolve net.md-5:SpecialSource:1.7.3-SNAPSHOT.
Required by:
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT
> Could not parse POM https://oss.sonatype.org/content/repositories/snapshots/net/md-5/SpecialSource/1.7.3-SNAPSHOT/SpecialSource-1.7.3-20150128.072626-3.pom
> Could not resolve org.sonatype.oss:oss-parent:9.
> Could not parse POM http://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/9/oss-parent-9.pom
> Already seen doctype.
> Could not resolve net.sf.opencsv:opencsv:2.3.
Required by:
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT
> Could not parse POM http://repo1.maven.org/maven2/net/sf/opencsv/opencsv/2.3/opencsv-2.3.pom
> Already seen doctype.
> Could not resolve com.github.jponge:lzma-java:1.3.
Required by:
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT
> Could not parse POM http://repo1.maven.org/maven2/com/github/jponge/lzma-java/1.3/lzma-java-1.3.pom
> Already seen doctype.
> Could not resolve com.github.abrarsyed.jastyle:jAstyle:1.2.
Required by:
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT
> Could not parse POM http://repo1.maven.org/maven2/com/github/abrarsyed/jastyle/jAstyle/1.2/jAstyle-1.2.pom
> Already seen doctype.
> Could not resolve net.sf.trove4j:trove4j:2.1.0.
Required by:
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT
> Could not parse POM http://repo1.maven.org/maven2/net/sf/trove4j/trove4j/2.1.0/trove4j-2.1.0.pom
> Already seen doctype.
> Could not resolve com.cloudbees:diff4j:1.1.
Required by:
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT
> Could not parse POM http://repo1.maven.org/maven2/com/cloudbees/diff4j/1.1/diff4j-1.1.pom
> Already seen doctype.
> Could not resolve com.github.tony19:named-regexp:0.2.3.
Required by:
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT
> Could not parse POM http://repo1.maven.org/maven2/com/github/tony19/named-regexp/0.2.3/named-regexp-0.2.3.pom
> Already seen doctype.
> Could not resolve org.ow2.asm:asm-debug-all:5.0.3.
Required by:
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT
> Could not parse POM http://repo1.maven.org/maven2/org/ow2/asm/asm-debug-all/5.0.3/asm-debug-all-5.0.3.pom
> Already seen doctype.
> Could not resolve com.nothome:javaxdelta:2.0.1.
Required by:
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT
> Could not parse POM http://repo1.maven.org/maven2/com/nothome/javaxdelta/2.0.1/javaxdelta-2.0.1.pom
> Already seen doctype.
> Could not resolve org.apache.httpcomponents:httpclient:4.3.3.
Required by:
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT
> Could not parse POM http://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.pom
> Already seen doctype.
> Could not resolve com.google.code.gson:gson:2.2.4.
Required by:
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > de.oceanlabs.mcp:RetroGuard:3.6.6
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > de.oceanlabs.mcp:mcinjector:3.2-SNAPSHOT
> Could not parse POM http://repo1.maven.org/maven2/com/google/code/gson/gson/2.2.4/gson-2.2.4.pom
> Already seen doctype.
> Could not resolve com.google.guava:guava:18.0.
Required by:
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT
> Could not parse POM http://repo1.maven.org/maven2/com/google/guava/guava/18.0/guava-18.0.pom
> Already seen doctype.
> Could not resolve org.apache.httpcomponents:httpmime:4.3.3.
Required by:
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT
> Could not parse POM http://repo1.maven.org/maven2/org/apache/httpcomponents/httpmime/4.3.3/httpmime-4.3.3.pom
> Already seen doctype.
> Could not resolve net.sf.jopt-simple:jopt-simple:4.6.
Required by:
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > de.oceanlabs.mcp:RetroGuard:3.6.6
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > de.oceanlabs.mcp:mcinjector:3.2-SNAPSHOT
> Could not parse POM http://repo1.maven.org/maven2/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.pom
> Could not resolve org.sonatype.oss:oss-parent:7.
> Could not parse POM http://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
> Already seen doctype.
> Could not resolve org.eclipse.core:resources:3.2.1-R32x_v20060914.
Required by:
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT
> Could not parse POM http://repo1.maven.org/maven2/org/eclipse/core/resources/3.2.1-R32x_v20060914/resources-3.2.1-R32x_v20060914.pom
> Already seen doctype.
> Could not resolve org.eclipse.equinox:common:3.6.200-v20130402-1505.
Required by:
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT
> Could not parse POM http://repo1.maven.org/maven2/org/eclipse/equinox/common/3.6.200-v20130402-1505/common-3.6.200-v20130402-1505.pom
> Already seen doctype.
> Could not resolve org.eclipse.text:org.eclipse.text:3.5.101.
Required by:
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT
> Could not parse POM http://repo1.maven.org/maven2/org/eclipse/text/org.eclipse.text/3.5.101/org.eclipse.text-3.5.101.pom
> Already seen doctype.
> Could not resolve net.sf.jopt-simple:jopt-simple:4.6.
Required by:
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT
> Could not parse POM http://repo1.maven.org/maven2/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.pom
> Could not resolve org.sonatype.oss:oss-parent:7.
> Could not parse POM http://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
> Already seen doctype.
> Could not resolve org.ow2.asm:asm-debug-all:5.0.3.
Required by:
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > de.oceanlabs.mcp:mcinjector:3.2-SNAPSHOT
> Could not parse POM http://repo1.maven.org/maven2/org/ow2/asm/asm-debug-all/5.0.3/asm-debug-all-5.0.3.pom
> Already seen doctype.
> Could not resolve org.eclipse.equinox:common:[3.6.100,4.0.0).
Required by:
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT > org.eclipse.core:runtime:3.9.0-v20130326-1255
> Could not parse POM http://repo1.maven.org/maven2/org/eclipse/equinox/common/3.6.200-v20130402-1505/common-3.6.200-v20130402-1505.pom
> Already seen doctype.
> Could not resolve org.eclipse.equinox:common:[3.2.0,4.0.0).
Required by:
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT > org.eclipse.core:runtime:3.9.0-v20130326-1255 > org.eclipse.equinox:registry:3.5.400-v20140428-1507
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT > org.eclipse.core:runtime:3.9.0-v20130326-1255 > org.eclipse.equinox:app:1.3.200-v20130910-1609
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT > org.eclipse.core:jobs:3.6.0-v20140424-0053
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT > org.eclipse.equinox:preferences:3.5.200-v20140224-1527
:forge-1-2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT > org.eclipse.core:contenttype:3.4.200-v20140207-1251
> Could not parse POM http://repo1.maven.org/maven2/org/eclipse/equinox/common/3.6.200-v20130402-1505/common-3.6.200-v20130402-1505.pom
> Already seen doctype.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Hello!
Hello!
EDIT: I also suggest looking for something online about this already, maybe it's a Mac problem? And not Gradle
Hello!
I GOT THIS ERROR - ANY ADVICE:
FAILURE: Build failed with an exception.
* What went wrong:
Java heap space
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
From the line Java heap space, I would have to guess that Java ran out of memory. This means that not enough memory is being allocated to program. Search online for Java heap space and see any solutions you can come up with.
Hello!