OpenComputers

OpenComputers

46M Downloads

OPPM fails to install [HTTPS certificate not supported by old Java versions]

HauberRBLX opened this issue ยท 26 comments

commented

So yesterday while playing around with a modpack, I discovered OpenComputers. Today I installed the mod on a seperate modpack I made for testing OpenComputers, the OS install went well, however when I tried to install OPPM, it told me that it couldnt connect to the internet. After reconnecting my WiFi, using a VPN and using my mobile hotspot, the issue persisted. I have also checked and the computer is configured correctly. It has an internet card and any other components it may need.

I am on Minecraft 1.7.10 with OpenComputers version 1.8.3+089dd28 and Forge 10.13.4.1614 installed.

The log file can be viewed here: https://pastebin.com/DFq4FJWm

commented

The Minecraft launcher provides its own version of Java:

[14:21:49] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 10:amd64:10.0, installed at C:\Users\Maximilian\curseforge\minecraft\Install\runtime\jre-legacy\windows-x64\jre-legacy

So what do I do?

commented

ye bro also i have this problem try if irc works to me irc worked but then afther a reboot it stoped whitch is weird before the worked fine

commented

@FINK89i Please write your message again, but this time in more understandable english thank you very much

commented

I suspect it has something to do with the Java version being outdated:

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

commented

@asiekierka I am running Java 1.8.0_261. I don't think that's the issue.

Here's what it shows me when I run java -version:
java version "1.8.0_261"
Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.261-b12, mixed mode)

commented

The Minecraft launcher provides its own version of Java:

[14:21:49] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 10:amd64:10.0, installed at C:\Users\Maximilian\curseforge\minecraft\Install\runtime\jre-legacy\windows-x64\jre-legacy

commented

@FINK89i Please write your message again, but this time in more understandable english thank you very much

ok bro sorry im not that good at English to IRC chat worked only one time but after i did reboot the computer on minecraft it didn't work anymore end oppm never work but some moths ago all worked fine so i dont know maby a windows update or a java update caused a error in the code also i dont know if other people have this problem

commented

Enabling ArchaicFix's enableLetsEncryptRoot feature might have a positive effect?

commented

Enabling ArchaicFix's enableLetsEncryptRoot feature might have a positive effect?

ArchaicFix crashes the game if I try to run Minecraft with it

commented

The Minecraft launcher provides its own version of Java:
[14:21:49] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 10:amd64:10.0, installed at C:\Users\Maximilian\curseforge\minecraft\Install\runtime\jre-legacy\windows-x64\jre-legacy

So what do I do?

Replace the Java 8 version with the latest version. For example, turn off "Use Java provided by Minecraft" in ATLauncher
After testing, there are no problems

commented

The Minecraft launcher provides its own version of Java:
[14:21:49] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 10:amd64:10.0, installed at C:\Users\Maximilian\curseforge\minecraft\Install\runtime\jre-legacy\windows-x64\jre-legacy

So what do I do?

Replace the Java 8 version with the latest version. For example, turn off "Use Java provided by Minecraft" in ATLauncher After testing, there are no problems

I'm using the CurseForge Launcher. Is there any way to do that on there?

commented

The Minecraft launcher provides its own version of Java:
[14:21:49] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 10:amd64:10.0, installed at C:\Users\Maximilian\curseforge\minecraft\Install\runtime\jre-legacy\windows-x64\jre-legacy

So what do I do?

Replace the Java 8 version with the latest version. For example, turn off "Use Java provided by Minecraft" in ATLauncher After testing, there are no problems

I'm using the CurseForge Launcher. Is there any way to do that on there?

Sorry, I haven't used this before. Why don't you search it on Google?

commented

@HauberRBLX You'd need to manually change the Java version after CurseForge launches the vanilla launcher -> Installation Tab -> Edit the modded profile -> MORE OPTIONS -> edit JAVA EXECUTABLE.

commented

@HauberRBLX You'd need to manually change the Java version after CurseForge launches the vanilla launcher -> Installation Tab -> Edit the modded profile -> MORE OPTIONS -> edit JAVA EXECUTABLE.

What would I change it to?

commented

@HauberRBLX An updated Java 8 executable.

commented

guys i have just solved so this is how i did it im using legacy launcher because i dont have money for minecraft sorry but in the java options there is a custom end so i have download java 8 x64 from the site end in the launcher i have set the custom to C:\Program Files\Java\jre-1.8\bin\javaw.exe end it works now just fine i can install oppm end use irc now

commented

I already encountered that error when running 32 bit Java on a 64 bit PC. Try using the 64 bit version, or use a very small -xmx argument (not recommended)

That finally did the trick and I was able to install OPPM.

With that I can finally close this issue, thanks to everyone who helped (and tried to)!

commented

if you are watching this in the future, it is C:\Program Files\Java\latest\jre-1.8\bin\javaw.exe

there is now latest in the url

commented

On 1.12.2 this is also resolved by installing CensoredASM.

commented

@HauberRBLX In this case just change the Java 8 version CurseForge uses to an updated one over the default one:
image

commented

On 1.12.2 this is also resolved by installing CensoredASM.

Yea only issue is I'm not on 1.12.2 but on 1.7.10...

commented

@HauberRBLX In this case just change the Java 8 version CurseForge uses to an updated one over the default one: image

So do I just replace it with the java in program files?

commented

So after replacing the Java 8 with the javaw from the one I installed, I get this error. Any idea?
grafik

commented

@HauberRBLX Did you manually install Java 8?

commented

@xJon yes, i used the installer

commented

I already encountered that error when running 32 bit Java on a 64 bit PC. Try using the 64 bit version, or use a very small -xmx argument (not recommended)