Jump to content

Gradlew setupDecompWorkspace error


UnlimitedAlpha

Recommended Posts

I attempted to setup gradle using this tutorial:

 

When changing cd to my forge src folder (Forge 1.7.2 latest src) and then typing gradlew setupDecompWorkspace I receive this error:

 

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

Permission denied: connect

        at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAcc

essManager.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: Permission denied: connect

        at java.net.DualStackPlainSocketImpl.connect0(Native Method)

        at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)

        at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)

        at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)

        at java.net.AbstractPlainSocketImpl.connect(Unknown Source)

        at java.net.PlainSocketImpl.connect(Unknown Source)

        at java.net.SocksSocketImpl.connect(Unknown Source)

        at java.net.Socket.connect(Unknown Source)

        at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)

        at sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)

        at sun.net.NetworkClient.doConnect(Unknown Source)

        at sun.net.www.http.HttpClient.openServer(Unknown Source)

        at sun.net.www.http.HttpClient.openServer(Unknown Source)

        at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)

        at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)

        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewH

ttpClient(Unknown Source)

        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour

ce)

        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect

(Unknown Source)

        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So

urce)

        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unkn

own Source)

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

        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(ExclusiveFileAcc

essManager.java:65)

        ... 3 more

 

I tried running it as admin because of the permission denied thing but I received the same error.

A new modder who loves tech mods.

Link to comment
Share on other sites

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

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