Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

So I tried setting up Forge 1.7.2 but when I ran the setupDecompWorkspace, I got the outOfMemory-Error because of heapspace. To fix this, I changed line 75 of gradlew.bat to this:

 

"%JAVA_EXE%" -Xmx512m %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%

 

after that I didn't get out of memory errors anymore, but now I'm stuck with this error:

 

 

****************************

Powered By MCP:

http://mcp.ocean-labs.de/

Searge, ProfMobius, Fesh0r,

R4wk, ZeuX, IngisKahn

MCP Data version : unknown

****************************

:extractUserDev

:getAssetsIndex

:getAssets

:copyAssets

:extractNatives

:genSrgs UP-TO-DATE

:downloadMcpTools UP-TO-DATE

:downloadClient SKIPPED

:downloadServer SKIPPED

:mergeJars SKIPPED

:deobfuscateJar UP-TO-DATE

:decompile SKIPPED

:doFmlPatches SKIPPED

:addFmlSources SKIPPED

:remapJar SKIPPED

:doForgePatches SKIPPED

:addForgeJavadoc SKIPPED

:extractForgeSrc

:recompForge

C:\Users\Simon\Desktop\Minecraft Forge\build\tmp\recompSrc\cpw\mods\fml\common\O

bfuscationReflectionHelper.java:35: type parameters of <T>T cannot be determined

; no unique maximal instance exists for type variable T with upper bounds T,java

.lang.Object

            return ReflectionHelper.getPrivateValue(classToAccess, instance, fie

ldIndex);

                                                  ^

C:\Users\Simon\Desktop\Minecraft Forge\build\tmp\recompSrc\cpw\mods\fml\common\O

bfuscationReflectionHelper.java:60: type parameters of <T>T cannot be determined

; no unique maximal instance exists for type variable T with upper bounds T,java

.lang.Object

            return ReflectionHelper.getPrivateValue(classToAccess, instance, rem

apFieldNames(classToAccess.getName(),fieldNames));

                                                  ^

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

2 errors

:recompForge FAILED

 

 

I've tried updating Java as well as using different 1.7.2 builds of Forge. When I cut the change in the gradlew.bat I get the outOfMemory Error instead. I'm kind of at a loss right now.

Update your jdk, there are certain versions that are broken, IIRC it's like 1.6.0_23 or something.

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

  • Author

Yeah, as a short term fix I went to java 8, even though for comforts sake I want to mod with java 6. I'll find a working version of Java 6 if I have more time on hand.

It works with java 8 btw.

On another note, why don't you have the 512 mb RAM allocation (or however much is needed) done for everyone? I kind of know what I'm doing, so I could easily fix it, but for quite some people just adding the line I did to gradlew.bat would help I think.

Because I expect modders to not be retarded. And most systems default to enough.

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

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.