install netbeans 8.2 on ubuntu 18.04 code example
Example: install netbeans 8.2 ubuntu 20.04
sudo apt install default-jdk
sudo snap install netbeans --classic
#for remove netbeans
sudo snap remove netbeans
sudo apt install default-jdk
sudo snap install netbeans --classic
#for remove netbeans
sudo snap remove netbeans