Installation fails - Error: Unable to connect to host sun.security...
이전 댓글 표시
Dear Mathworks support team,
whenever I try to install Mathlab R2019b the installation fails when using "Log in with a MathWorks account".
The error given says "Error: Unable to connect to host.sun.securityValidatorException: PKIX path building failed..."
Is there any way how to solve this issue?
Best regards,
George
댓글 수: 4
rai7aeLa
2019년 10월 2일
I have the same problem, Matlab R2019b on a fresh Win10 x64. The official Matlab installer throws this error when I try to log in for my licence.
Screenshot: 

Adriana Brancaccio
2020년 2월 4일
I have the same problem, please help me!
Paul De Meulenaere
2020년 2월 18일
Same problem here ... I'm working on a brand new laptop (Win 10) as well. Installing Matlab gives exactly the same problem as above. I did it for R2019b, but I also tried for R2019a with the same negative result.
I re-installed java (Java 8 update 241) as suggested below, deleted the temp folder, I rebooted the PC, etc. but this didn't bring any solution ...
Martin Nørgaard
2020년 3월 4일
I tried Paul De Meulenaeres exact actions on a Windows Server 2019 and it worked.
- Tried installing R2019b, ("PKIX path building failed ...")
- Deleted temp folder created by the installer.
- Installed Java 8 U 241
- Rebooted
- Ran R2019b installer again
- No issues, where the error showed before.
답변 (2개)
rai7aeLa
2019년 10월 2일
2 개 추천
Solved it. Install Java manually from java.com. The JRE included in the Matlab Installer seems to be broken.
댓글 수: 5
Luca Mario Di Valentino
2019년 10월 6일
I have the same problem, however, I Installed Java manually but it doesn't solve my problem. Could you help me?
Georg Stoellinger
2019년 10월 6일
Luca Mario Di Valentino
2019년 10월 9일
Did you find the solution?
rai7aeLa
2019년 10월 10일
Does your Windows have all updates installed (including optional ones)? Have you rebooted after installing Java manually? Also you could try to delete the temporary folder created by the Matlab installer and run it again. I did not need to to anything other than these things. I thought it was Java that solved the issue because it worked after I did that.
Marty556
2019년 11월 24일
Thank you, rai7aeLa, your solution (also) worked for me. I first deleted the _temp folder already created by the Matlab installer, then installed Java jre1.8.0_231 and rebooted the machine. Afterwards, the Matlab installation succeeded.
In contrast, the often suggested standard fix of deactivating Antivirus protection and/or changing Firewall settings had done nothing at all.
Keegan Freeman
2020년 1월 13일
0 개 추천
I updated my java JRE via java.com and it correctly installed afterwards
카테고리
도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!