Jump to content

[SOLVED] Issues Setting up Forge 1.8


Sidonius_

Recommended Posts

[Note to Admins]

I get why the captcha is there, but the questions are a bit annoying. I have no clue who "Lex" is, or their full nick name.

 

Also, a lot of the buttons aren't offset correctly. I have to sometimes click under them, just to click them.

[/End Note to Admins]

 

 

 

I have previously (2 days ago) set up Forge 1.8 on my Windows 8 x64bit computer and it worked fine, but I had to reinstall Windows because I got a new SSD for my OS boot drive.

 

I loaded a backup of a fresh installation onto the SSD and afterwards installed JDK 7 x64, JDK 8 x64, and Java 8. I then set my Path for the System settings.

The installers for the JDK setup files I used were the same that I had used on the previous installation of Windows 8.

 

 

Minecraft runs fine.

My Vanilla 1.6.4 Modding setup with Eclipse runs fine.

 

 

(The setup I followed was MrCrayfish's tutorial for setting up and modding 1.8)

 

But my new 1.8 Forge setup with Eclipse would not work correctly. When launched and directed to the 'eclipse' folder for the workspace, Eclipse did not bring up any of the files for the mod whatsoever.

At this point I prompted to redownload the Forge installation as and Source Code files for setting up modding. After attempting to resetup everything, I found that the .bat files for setting up the Workstation and Eclipse was instantly closing. I checked the .bat files to make sure the codes match MrCrayfish's videos, and they did. I then put "gradlew setupDecompWorkspace" into the Command Prompt, and was issued with this error.

 

 

M:\Forge Mods\Sids_Mods>gradlew setupDecompWorkspace

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

 

Exception in thread "main" javax.net.ssl.SSLHandshakeException: java.security.ce

rt.CertificateException: No subject alternative DNS name matching services.gradl

e.org found.

        at sun.security.ssl.Alerts.getSSLException(Unknown Source)

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

        at sun.security.ssl.Handshaker.fatalSE(Unknown Source)

        at sun.security.ssl.Handshaker.fatalSE(Unknown Source)

        at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)

        at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)

        at sun.security.ssl.Handshaker.processLoop(Unknown Source)

        at sun.security.ssl.Handshaker.process_record(Unknown Source)

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

        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source

)

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

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

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

        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)

Caused by: java.security.cert.CertificateException: No subject alternative DNS n

ame matching services.gradle.org found.

        at sun.security.util.HostnameChecker.matchDNS(Unknown Source)

        at sun.security.util.HostnameChecker.match(Unknown Source)

        at sun.security.ssl.X509TrustManagerImpl.checkIdentity(Unknown Source)

        at sun.security.ssl.X509TrustManagerImpl.checkIdentity(Unknown Source)

        at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)

        at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Sour

ce)

        ... 21 more

 

M:\Forge Mods\Sids_Mods>

 

 

 

 

 

After this  I kept trying to set it up, I eventually started getting this error,

 

 

ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files (x86)\Java

Please set the JAVA_HOME variable in your environment to match the location of your Java installation

 

 

I attempted this fix, https://forums.techrocket.com/t/solved-java-home-variable-while-installing-forge/151

and I am still getting the long error above.

 

Any help would be appreciated.

Link to comment
Share on other sites

The error above meaning the SSL error? Looks like you are having problems reaching services.gradle.org. Can you visit that in a browser?

 

Edit: Yep, they are definitely having issues, https://services.gradle.org/ is using an invalid certificate at the moment.

 

I can visit http://services.gradle.org/ but not the HTTPS

I'm surprised I didn't have this issue with my VPN installed...

Link to comment
Share on other sites

Seems they have fixed it, they misconfigured their server and was sending a cert for one of their other subdomains.

But yes killing the S will make it not care about certs.

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

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.