After clone and build Netbeans on Wednesday, March 25, 2 things happened:
1.
Netbeans didn't want to get started until I added:
-Dtryme.args = "- modules --refresh --update-all ..."
2.
I tried installing the C/C++ plugin again since it disappeared from the
list of installed plugins!
Since -Dnbjdk.home = /usr/lib/jvm/jdk-14 which has no pack200 and
unpack200 programs, I had to do symlink on jdk-13.0.1/bin/pack200 and
jdk-13.0.1/bin/unpack200 in jdk-14/bin, so the installation continued
but with additional problems.
Log file has about 70 times:
***
INFO [org.netbeans.modules.autoupdate.services.Utilities]: Cannot
validate certificate path - Path does not chain with any of the trust
anchors
java.security.cert.CertPathValidatorException: Path does not chain with
any of the trust anchors
at java.base /
sun.security.provider.certpath.PKIXCertPathValidator.validate
(PKIXCertPathValidator.java:158)
at java.base /
sun.security.provider.certpath.PKIXCertPathValidator.engineValidate
(PKIXCertPathValidator.java:84)
at java.base / java.security.cert.CertPathValidator.validate
(CertPathValidator.java:309)
[catch] at
org.netbeans.modules.autoupdate.services.Utilities.verifyCACertificatePath
(Utilities.java:196)
at org.netbeans.modules.autoupdate.services.Utilities.verifyCertificates
(Utilities.java:166)
at org.netbeans.modules.autoupdate.services.InstallSupportImpl.verifyNbm
(InstallSupportImpl.java:1135)
at
org.netbeans.modules.autoupdate.services.InstallSupportImpl.doValidate
(InstallSupportImpl.java:852)
at
org.netbeans.modules.autoupdate.services.InstallSupportImpl.doValidate
(InstallSupportImpl.java:805)
at org.netbeans.modules.autoupdate.services.InstallSupportImpl.access $
900 (InstallSupportImpl.java:75)
at org.netbeans.modules.autoupdate.services.InstallSupportImpl $ 2.call
(InstallSupportImpl.java:247)
at org.netbeans.modules.autoupdate.services.InstallSupportImpl $ 2.call
(InstallSupportImpl.java:220)
at java.base / java.util.concurrent.FutureTask.run (FutureTask.java:264)
at java.base / java.util.concurrent.ThreadPoolExecutor.runWorker
(ThreadPoolExecutor.java:1130)
at java.base / java.util.concurrent.ThreadPoolExecutor $ Worker.run
(ThreadPoolExecutor.java:630)
at java.base / java.lang.Thread.run (Thread.java:832)
***
Then the installer reported at the end of all the CND modules:
***
INFO [org.netbeans.modules.autoupdate.services.InstallSupportImpl]:
Timeout waiting for loading module
org.netbeans.modules.cnd.repository@1.32.6.1
INFO [org.netbeans.modules.autoupdate.ui.wizards.InstallStep]: timeout
of loading C/C++ Repository [org.netbeans.modules.cnd.repository / 1.32.6.1]
org.netbeans.api.autoupdate.OperationException [INSTALL]: loading time
of C/C++ Repository [org.netbeans.modules.cnd.repository / 1.32.6.1]
at org.netbeans.modules.autoupdate.services.InstallSupportImpl $ 3.call
(InstallSupportImpl.java:431)
at org.netbeans.modules.autoupdate.services.InstallSupportImpl $ 3.call
(InstallSupportImpl.java:291)
at java.base / java.util.concurrent.FutureTask.run (FutureTask.java:264)
at java.base / java.util.concurrent.ThreadPoolExecutor.runWorker
(ThreadPoolExecutor.java:1130)
at java.base / java.util.concurrent.ThreadPoolExecutor $ Worker.run
(ThreadPoolExecutor.java:630)
[catch] at java.base / java.lang.Thread.run (Thread.java:832)
***
Just to mention that the plugin list for C/C++ lists version 1.31.5.1
and the log shows that the installer is trying 1.32.6.1.
Please someone from Netbeans, take a look at the C/C++ installation problem.
Thankful in advance
Vladimir Kokovic, DP senior (69)
Serbia, Belgrade, March 26, 2020