Install libnb-apisupport3-java by entering the following commands in the terminal:
sudo apt update sudo apt install libnb-apisupport3-java
Common NetBeans Platform Development Related Libraries for NetBeans
The NetBeans Platform is a set of modules, each providing their own APIs and working together or in a standalone mode. This package contains common libraries for development of NetBeans Platform modular extensions.