I have a 3B and I used the Pi Imager to install the latest full Raspbian on a 32G micro SD card.
I then refeshed the cache using
sudo apt-get update
To make sure everything was completely up-to-date I then did the following a couple of times;
sudo apt-get uprade
Next I installed netbeans;
sudo apt-get install netbeans
This worked fine and the netbeans 10 IDE could be run.
However it did not have C/C++ support.
It seems you need to load the plugin for version 8 of netbeans. In netbeans I ticked the box to get version 8 plugins and loaded C/C++.
I clicked install and everything went fine up to the very end when there was a fault. I ran netbeans and I could see C/C++ but it would not run. After I shutdown Rasbian the micro SD card not reboot - could be a coincidence but I am not so sure.
Sorry for not having actual error messages and screenshots, I am trying to recover from loss of the card as I have not been able to get a working re-install.
Anyway are there any known problems with using C/C++ in Netbeans with the latest Raspbian are there any tricks to getting it work?