You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by gmail Vladimir Koković <vl...@gmail.com> on 2020/03/26 06:33:16 UTC

Netbeans C/C++ installation failed

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




Re: Netbeans C/C++ installation failed

Posted by Geertjan Wielenga <ge...@apache.org>.
Rather than clone and build, can you use the latest release, i.e., 11.3 and
then install the C/C++ plugin there?

Gj

On Thu, 26 Mar 2020 at 07:33, gmail Vladimir Koković <
vladimir.kokovic@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
>
>
>
>

Re: Netbeans C/C++ installation failed

Posted by "fruitpi@yahoo.co.uk.INVALID" <fr...@yahoo.co.uk.INVALID>.
 I am using the Raspbian Full release based on Debian Buster. The distribution includes Netbeans 10 which I installed, however it does not automatically include C/C++ support.
To get that I started Netbeans and went to Tools>Plugins>Settings.In there I could select Netbeans 8.2 Plugin Portal.Once that was selected the "Available Plugins" tab included "C/C++" which I could select and then install.
I am still having a few problems but I think that is because I am a newbie.This seems a relatively easy way of getting C/C++
I believe I read somewhere that Version 12 of Netbeans will include C/C++ and you will not have to back to 8.2 to get it.

    On Thursday, 26 March 2020, 07:39:04 GMT, Geertjan Wielenga <ge...@apache.org> wrote:  
 
 Right.
Gj
On Thu, 26 Mar 2020 at 08:37, Vladimir Kokovic <vl...@gmail.com> wrote:

"...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 ..."

Vladimir Kokovic, DP senior (69)
Serbia, Belgrade, March 26, 2020


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


  

Re: Netbeans C/C++ installation failed

Posted by Geertjan Wielenga <ge...@apache.org>.
Right.

Gj

On Thu, 26 Mar 2020 at 08:37, Vladimir Kokovic <vl...@gmail.com>
wrote:

> "...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 ..."
>
> Vladimir Kokovic, DP senior (69)
> Serbia, Belgrade, March 26, 2020
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

Re: Netbeans C/C++ installation failed

Posted by Vladimir Kokovic <vl...@gmail.com>.
"...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 ..."

Vladimir Kokovic, DP senior (69)
Serbia, Belgrade, March 26, 2020


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: Netbeans C/C++ installation failed

Posted by Geertjan Wielenga <ge...@apache.org>.
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 <ge...@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.kokovic@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 <gr...@gmail.com> wrote:
>>
>>>
>>> Greg McPherson <gr...@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*
>>> gregmcph@gmail.com
>>>
>>> On Thu, 26 Mar 2020 at 17:57, Greg McPherson <gr...@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.kokovic@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*
>>>> gregmcph@gmail.com
>>>>
>>>
>>>
>>> --
>>>
>>> *Gregory Miles Sebastian McPherson*
>>> gregmcph@gmail.com
>>>
>>

Re: Netbeans C/C++ installation failed

Posted by Geertjan Wielenga <ge...@apache.org>.
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.kokovic@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 <gr...@gmail.com> wrote:
>
>>
>> Greg McPherson <gr...@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*
>> gregmcph@gmail.com
>>
>> On Thu, 26 Mar 2020 at 17:57, Greg McPherson <gr...@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.kokovic@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*
>>> gregmcph@gmail.com
>>>
>>
>>
>> --
>>
>> *Gregory Miles Sebastian McPherson*
>> gregmcph@gmail.com
>>
>

Re: Netbeans C/C++ installation failed

Posted by Vladimir Kokovic <vl...@gmail.com>.
After your suggestions, I remembered that I had Netbeans since Tuesday that has CND, so I did copy nbbuild/netbeans/dlight to current Netbeans and now have C/C++ again.

However, the problem of installing C/C++ still remains.

Vladimir Kokovic, DP senior (69)
Serbia, Belgrade, March 26, 2020


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: Netbeans C/C++ installation failed

Posted by gmail Vladimir Koković <vl...@gmail.com>.
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 <gregmcph@gmail.com 
> <ma...@gmail.com>> wrote:
>
>
>           Greg McPherson <gregmcph@gmail.com <ma...@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*
>     gregmcph@gmail.com <ma...@gmail.com>
>
>     On Thu, 26 Mar 2020 at 17:57, Greg McPherson <gregmcph@gmail.com
>     <ma...@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.kokovic@gmail.com
>         <ma...@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
>             <ma...@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*
>         gregmcph@gmail.com <ma...@gmail.com>
>
>
>
>     -- 
>
>     *Gregory Miles Sebastian McPherson*
>     gregmcph@gmail.com <ma...@gmail.com>
>

Re: Netbeans C/C++ installation failed

Posted by Geertjan Wielenga <ge...@apache.org>.
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 <gr...@gmail.com> wrote:

>
> Greg McPherson <gr...@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*
> gregmcph@gmail.com
>
> On Thu, 26 Mar 2020 at 17:57, Greg McPherson <gr...@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.kokovic@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*
>> gregmcph@gmail.com
>>
>
>
> --
>
> *Gregory Miles Sebastian McPherson*
> gregmcph@gmail.com
>

Re: Netbeans C/C++ installation failed

Posted by Greg McPherson <gr...@gmail.com>.
Greg McPherson <gr...@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*
gregmcph@gmail.com

On Thu, 26 Mar 2020 at 17:57, Greg McPherson <gr...@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.kokovic@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*
> gregmcph@gmail.com
>


-- 

*Gregory Miles Sebastian McPherson*
gregmcph@gmail.com