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

After much frustration copying my Mod's source files to a 1.8.9 forge version, making an environment variable called "GRADLE_OPTS" which didn't help because I needed to allocate 3 gigs of RAM to the gradle setup process, I came up with an issue. Upon completion I copied the src folder to the new forgesource workspace, resolved the errors,  and tried to run "gradlew build". When I did it returned this error:

 

Error: Could not find or load main class GRADLE_OPTS=-Xmx3072m

 

I feel this is related to the tinkering I did before, as 3 gigs of ram was the amount I attempted to allocate. Yet I have deleted the environment variable and the gradle properties file I created and yet I still get this issue.

 

Anybody know how to fix this?

 

Thanks in advance.

  • Author

That's not how you allocate more memory.

 

Use the

org.gradle.jvmargs

property in the

~/.gradle/gradle.properties

file as described here

I understand that now, but that properties file didn't work for me, so I had to add some "-Diag" or something extension and it worked.

 

The issue is the error I'm getting trying to turn my mod into a jar file.

  • Author

Run

gradlew build

with the

--stacktrace

option and post the entire log.

Nevermind, I had to delete the GRADLE_OPTS variable and it worked now. Thanks tho.

Guest
This topic is now closed to further replies.

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.