You’re running NetBeans on JDK 14 I guess and so I’d suggest using an earlier JDK when installing C/C++ features since JDK 14 does not include Pack200, as explained on the 11.3 Download page, for unpacking.
Gj On Thu, 26 Mar 2020 at 08:31, Geertjan Wielenga <geert...@apache.org> wrote: > It’s not the stablest environment for an already unstable set of features, > i.e., the C/C++ features. > > Gj > > On Thu, 26 Mar 2020 at 08:12, gmail Vladimir Koković < > vladimir.koko...@gmail.com> wrote: > >> Just to mention that I've been working on clone and build Netbeans for 10 >> years now: >> >> ant -v tryme \ >> -Dnbjdk.home=/usr/lib/jvm/jdk-14 \ >> -Dtryme.args= "- modules --refresh --update-all --userdir >> /mnt/sdd1/home/src/netbeans-apache-git/testuserdir --fontsize 18" \ >> -Drun.args.ide= "- J-Xms256M -J-Xmx8192M -J-Xdebug -J-Xrunjdwp: transport >> = dt_socket, server = y, suspend = n, address = 8765" >> >> >> >> Vladimir Kokovic, DP senior (69) >> Serbia, Belgrade, March 26, 2020 >> >> >> On 26.3.20. 08:04, Geertjan Wielenga wrote: >> >> Or use your 11.2 user directory in 11.3? Point to it in etc/netbeans.conf. >> >> Gj >> >> On Thu, 26 Mar 2020 at 07:59, Greg McPherson <gregm...@gmail.com> wrote: >> >>> >>> Greg McPherson <gregm...@gmail.com> >>> 17:57 (0 minutes ago) >>> >>> to *users*, gmail >>> I've just started to do the Work At Home thing, and installed Netbeans >>> 11.3, while my work PC was still running 11.2. >>> And yes, I could not get the C++ plugin to install on 11.3. >>> >>> My awkward hack to fix this was to install 11.2, install C++ on that, >>> and then copy the folders >>> C:\Users\xxx\AppData\Roaming\NetBeans\11.2\config and "modules" into the >>> "11.3" folder. >>> >>> >>> -- >>> >>> *Gregory Miles Sebastian McPherson* >>> gregm...@gmail.com >>> >>> On Thu, 26 Mar 2020 at 17:57, Greg McPherson <gregm...@gmail.com> wrote: >>> >>>> I've just started to do the Work At Home thing, and installed Netbeans >>>> 11.3, while my work PC was still running 11.2. >>>> And yes, I could not get the C++ plugin to install on 11.3. >>>> >>>> My awkward hack to fix this was to install 11.2, install C++ on that, >>>> and then copy the folders >>>> C:\Users\xxx\AppData\Roaming\NetBeans\11.2\config and "modules" into >>>> the "11.3" folder. >>>> >>>> >>>> >>>> On Thu, 26 Mar 2020 at 17:33, gmail Vladimir Koković < >>>> vladimir.koko...@gmail.com> wrote: >>>> >>>>> 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 >>>>> >>>>> >>>>> >>>>> >>>> >>>> -- >>>> >>>> *Gregory Miles Sebastian McPherson* >>>> gregm...@gmail.com >>>> >>> >>> >>> -- >>> >>> *Gregory Miles Sebastian McPherson* >>> gregm...@gmail.com >>> >>