Jump to content

Recommended Posts

Posted

***EDIT2***  The problem is fixed.

***EDIT***  The problem has changed, please look at the 8th reply!

 

I have been having this problem with forge  and I can't seem to figure out how to fix it and work on modding.

I start out with opening terminal (This is on Mac btw), and I make sure it's location is the right place and I type this:

./gradlew setupDevWorkspace eclipse

 

It starts out okay, but then it fails at :deobfbinjar

 

sRWP1zo.png

 

Like the picture shows, it's caused by 'Java heap space', so I googled it, and found this post:

https://github.com/MinecraftForge/ForgeGradle/issues/48

I did the fix on that page, but it didn't work. I have tried adding more to the file, as someone has said on the page, but it still doesn't work! I have 16gb of ram and I've tried using 1, 2, 4, and 8 gb of ram but still nothing.

 

Maybe the fix is simple, but any help is appreciated.

Posted

It's be up to how you set it up without logs and exact files we can't tell you what you're doing wrong.

There should be no need for more then the default ram when deobfusicating a jar, but meh your computer may have a non-standard default.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

There are always logs, look in the .gradle folder.

Also:

Looking for project properties from: /Users/duncanlang/Desktop/forge-1/gradle.properties

20:50:40.373 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader                                                                              ]                                                                              project property file does not exists. We continue!

It is telling me that you have not applied the fix as described in that issue.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

it's there, seince you're on a mac they try to hide anything with . as the first character.

You need to either turn off hiding or manually move to it.

The is odd...

Make sure you post the contents of your properties file

 

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

  • 3 weeks later...
  • 2 weeks later...
Posted

I'm not sure what fixed my old problem, but a new one has arisen. This is what I do to get to my problem:

 

I download forge. Extract file to folder.

I open the gradlew file in Textedit (the Mac version of notepad) and change this line:

DEFAULT_JVM_OPTS=“ “

to:

DEFAULT_JVM_OPTS="-Xmx1024m"

 

I open up Terminal (Mac version of command window (cmd))

I type this:

cd /User/MYUSERNAME/Desktop/forge-1 (this links it to the forge folder)

./gradlew setupDevWorkspace

./gradlew eclipse

 

It says: BUILD SUCCESSFUL both times.

 

I open up eclipse and direct it to the eclipse folder within the forge folder (which is named forge-1)

 

 

it opens all looks right, but then it says I have two errors, which are:

 

Project 'Minecraft' is missing required library: '/Users/MYUSERNAME/Desktop/forge-1/unresolved dependency -  forgeSrc 1.7.2-10.12.0.1047'

 

The project cannot be built until build path errors are resolved

 

 

 

I don't know what these mean, and why it show earlier that the build was successful, if it was not. All help is appreciated!

Posted

I am having issues as well.

 

 

  Reveal hidden contents

 

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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