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

First of all, I'd like to apologise if this is the wrong place to post this and it's supposed to go in the ForgeGradle sub-forum instead, but the "NO SUPPORT REQUESTS" post kind of threw me off.

 

Today I decided to get back into trying to mod after a while, and I saw all this new stuff. I read up on it, watched tutorials then attempted to do it myself. However, everytime I try to run "gradlew.bat setupDecompWorkspace",  after a whole  lot of dots it gives me this error:

 

 

 

Exception in thread "main" java.lang.RuntimeException: java.net.SocketException: Connection reset

        at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:78)

        at org.gradle.wrapper.Install.createDist(Install.java:44)

        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:126)

        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:55)

Caused by: java.net.SocketException: Connection reset

        at java.net.SocketInputStream.read(SocketInputStream.java:196)

        at java.net.SocketInputStream.read(SocketInputStream.java:122)

        at java.io.BufferedInputStream.read1(BufferedInputStream.java:273)

        at java.io.BufferedInputStream.read(BufferedInputStream.java:334)

        at sun.net.www.MeteredStream.read(MeteredStream.java:134)

        at java.io.FilterInputStream.read(FilterInputStream.java:133)

        at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3053)

        at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3047)

        at org.gradle.wrapper.Download.downloadInternal(Download.java:60)

        at org.gradle.wrapper.Download.download(Download.java:42)

        at org.gradle.wrapper.Install$1.call(Install.java:57)

        at org.gradle.wrapper.Install$1.call(Install.java:44)

        at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)

        ... 3 more

 

 

 

Now I've searched up this error as much as I could, and from what I've seen, it's usually caused by firewall or such. I've made sure that my firewall is down, and I can download the file that it attempts to download by itself through my browser (gradle-1.11-bin.zip). I've only found one other thread with this error to do with ForgeGradel somewhere on the minecraft forums, and that post was never resolved, and it wasn't of much help.

 

I'm sure I'm probably making a really stupid mistake, but if you know how I can fix this, please let me know.

 

Thanks.

BEFORE ASKING FOR HELP READ THE EAQ!

 

I'll help if I can. Apologies if I do something obviously stupid. :D

 

If you don't know basic Java yet, go and follow these tutorials.

if (user.hasKnowledgeOfJava) {

    if (user.question.hasCode) {

        return interpetHelpfulResponse(user.getQuestion());

    } else {

        return "Could you post your code please?";

    }

} else {

    return "Learn some freaking Java!";

}

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.