what should i do after the first installation of netbeans ubuntu 20.04 code example

Example 1: how to install netbeans on ubuntu 20.04

Apache NetBeans IDE requires Java 8 or later Java Development Kit installed on your system.
To install Java on your system, execute following command

sudo apt install default-jdk

We use snap package to install Netbeans IDE on Ubuntu Linux system.
The latest Ubuntu system have default Snapd installed for application installation.
Open a terminal on your system and run the following command to install Netbeans IDE

sudo snap install netbeans --classic

Example 2: install netbeans 8.2 ubuntu 20.04

sudo apt install default-jdk
sudo snap install netbeans --classic

#for remove netbeans
sudo snap remove netbeans