How to install Latest Apache NetBeans IDE on Ubuntu Linux
Install Apache NetBeans on Ubuntu
To install and run latest version of Apache NetBeans on your system you need JDK 8 or JDK 11 or the latest JDK 16 (current JDK release). You can check the installed java version by running this command.
If you don’t have java then install it via below commands.
sudo apt update
sudo apt install default-jdk
If needed type your Ubuntu user password during the installation.
Download the latest version of Apache NetBeans installer script in a .sh file format from the above download link and save it on your Downloads folder.
Example: Just click on Apache-NetBeans-12.4-bin-linux-x64.sh (SHA-512, PGP ASC) link.
Here ” Apache-NetBeans-12.4-bin-linux-x64.sh” is the current version file name. It will look different for you based on your version.
It will open the a new page. Here you can right click on the NetBeans installer script and select save link as option and store in your Downloads folder. The downloaded file size is around 450 MB.
Now navigate to the Downloads folder using terminal
and make the Apache NetBeans installer executable by running this command.
sudo chmod +x Apache-NetBeans-12.4-bin-linux-x64.sh
Here “Apache-NetBeans-12.4-bin-linux-x64.sh” is the downloaded installer name. You can change the above command based on your Downloaded installer name. After that run below command.
It will open the GUI Apache NetBeans installer window. Now click Next and start and complete the installation. It will take some time to complete the installation.
Install Apache NetBeans via Snap:
You can also install Apache NetBeans via snap from snap store. Open terminal (ctrl+alt+t) and run below Apache NetBeans snap installation command.
sudo snap install netbeans --classic
Install Apache NetBeans via Flatpak:
Install flatpak and flathub and restart your system. Then run below Apache NetBeans flatpak installation command.
flatpak install flathub org.apache.netbeans
You can run it via
flatpak run org.apache.netbeans
If you need you can also install the plugins from the below download link.
Apache NetBeans Plugins