Jump to content

Recommended Posts

Posted

I created a mod away from home. I put my mod on a usb then took it home. I get the .project cant be found error and when i do the gradlew this is what happens

 

C:\Users\Junior\Desktop\Moding\Forgeeee>gradlew.bat setupDecompWorkspace

Downloading https://services.gradle.org/distributions/gradle-2.0-bin.zip

 

Exception in thread "main" java.net.SocketException: Bad address: 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.plainConnect0(Unknown Sou

rce)

        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.getInputStream0(Unknown S

ource)

        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)

        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:56)

 

C:\Users\Junior\Desktop\Moding\Forgeeee>gradlew.bad eclipsse

'gradlew.bad' is not recognized as an internal or external command,

operable program or batch file.

 

C:\Users\Junior\Desktop\Moding\Forgeeee>gradlew.bat eclipse

Downloading https://services.gradle.org/distributions/gradle-2.0-bin.zip

 

Exception in thread "main" java.net.SocketException: Bad address: 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.plainConnect0(Unknown Sou

rce)

        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.getInputStream0(Unknown S

ource)

        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)

        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:56)

 

C:\Users\Junior\Desktop\Moding\Forgeeee>

Any help?

Posted

You dont have internet, or your firewall/something is preventing java from being able to download gradle, kill your antivirus and see if that helps.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

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.

Announcements



×
×
  • Create New...

Important Information

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