Install libnb-ide14-java by entering the following commands in the terminal:
sudo apt update sudo apt install libnb-ide14-java
Common Integrated Development Environment 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 independent libraries for use in the NetBeans IDE.