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 tried to test my mod, but eclipse gave me an error.

 

Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: C:\Documents and Settings\user\.gradle\caches\minecraft\assets\indexes\{ASSET_INDEX}.json (The system cannot find the file specified)

at com.google.common.base.Throwables.propagate(Throwables.java:160)

at GradleStart.setupAssets(GradleStart.java:274)

at GradleStart.startClient(GradleStart.java:82)

at GradleStart.main(GradleStart.java:56)

Caused by: java.io.FileNotFoundException: C:\Documents and Settings\user\.gradle\caches\minecraft\assets\indexes\{ASSET_INDEX}.json (The system cannot find the file specified)

at java.io.FileInputStream.open(Native Method)

at java.io.FileInputStream.<init>(Unknown Source)

at java.io.FileReader.<init>(Unknown Source)

at GradleStart.loadAssetsIndex(GradleStart.java:280)

at GradleStart.setupAssets(GradleStart.java:218)

... 2 more

 

Please help. Thanks.

P.S. I have noticed there's 2 ".gradle" folders. one mentioned in the error above & one in the forge folder where my workspace is. Could it be I've setup forge wrong?

rerun

gradlew setupDecompWorkspace

and your problem will be gone.

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

  • Author

I rerun gradle setupDecompWorkspace & I got a failure.

 

[color=red]FAILURE: Build failed with an expection.[/color]

* What went wrong:
Execution failed for task ':makeStart'.
> Cannot find System Java Complier. Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME system variable to point to the according directory.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

[color=red]BUILD FAILED[/color]

 

Not sure what to do.

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.