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

I am trying to install Forge on my MacBook Pro so that I can start Minecraft Modding (obviously, why else would I be trying to install Forge?). However, when I enter "gradlew setupDecompWorkspace" into the terminal, it says that the task "gradlew" is not found (Full failure report below).

A) What does this mean? (Yeah, again, first time here! Still a newbie!)

B) How do I fix it?

 

unknown4c8d79d856ae:forge-1.7.2-10.12.2.1121-src **********$ /Users/**********/Desktop/Java\ Stuff/Modding/forge-1.7.2-10.12.2.1121-src/gradlew gradlew setupDecompWorkspace --refresh-dependencies

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

Powered By MCP:           

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

Searge, ProfMobius, Fesh0r,

R4wk, ZeuX, IngisKahn     

MCP Data version : unknown

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

 

FAILURE: Build failed with an exception.

 

* What went wrong:

Task 'gradlew' not found in root project 'forge-1.7.2-10.12.2.1121-src'.

 

* Try:

Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with                                              --info                                                                          or                                                                            --debug                                                                          option to get more log output.

 

BUILD FAILED

 

 

Did you cd to the Forge directory? Are you typing ./gradlew setupDecompWorkspace, or just gradlew setupDecompWorkspace?

Check out my mod, Realms of Chaos, here.

 

If I helped you, be sure to press the "Thank You" button!

No I'm pretty sure he typed this according to his log:

 

gradlew gradlew setupDecompWorkspace --refresh-dependencies

 

So gradlew was looking inside its folders for a task it could execute called gradlew which it obviously doesn't have since that's itself.

 

Type these 2 commands and see if it works:

 

./gradlew setupDecompWorkspace

./gradlew eclipse

Check out my mod, Realms of Chaos, here.

 

If I helped you, be sure to press the "Thank You" button!

  • Author

Okay! So I put in "gradlew setupDecompWorkspace" at the folder containing "gradlew" instead of at "gradlew" itself. It said that the build was successful, but gave this warning:

 

warning: [options] bootstrap class path not set in conjunction with -source 1.6

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.

1 warning

:repackMinecraft

:setupDecompWorkspace

 

BUILD SUCCESSFUL

 

Total time: 9 mins 30.615 secs

unknown4c8d79d856ae:forge-1.7.2-10.12.2.1121-src **********$ exitcancel

-bash: exitcancel: command not found

 

I'm going to go on assuming that this is okay, but I'm not completely sure. Thanks for all the help!

 

EDIT: now when I try to use eclipse, it tells me that the "Minecraft" package is missing a .project file and refuses to load it.

After gradlew setupDecompWorkspace run gradlew eclipse. That generates the eclipse project files. That bootstrap class path warning is harmless, I get it all the time.

Check out my mod, Realms of Chaos, here.

 

If I helped you, be sure to press the "Thank You" button!

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.