Install libnb-platform18-java by entering the following commands in the terminal:
sudo apt update sudo apt install libnb-platform18-java
NetBeans Platform for building rich desktop applications in Java
The NetBeans Platform is a framework for building rich desktop applications in Java. It provides the code that is required to connect actions to menu items, toolbar items, keyboard shortcuts and more. It is the core of the NetBeans IDE. . This package provides the platform itself.