Install Apache NetBeans on Ubuntu via Snap

This brief tutorial shows students and new users how to quickly install Apache NetBeans on Ubuntu 20.04 | 18.04 via Snap package management.

For Java developers looking for a great development platform to manage your codes, NetBeans might be a great please to start.

NetBeans an open source IDE based on Java that enables anyone to develop applications for desktop, mobile, web in Java, PHP, C/C++, XML, HTML, JavaScript and many other platforms.

The IDE also provides a great set of tools for PHP and C/C++ developers..

For more about NetBeans, please check this link.

To get started install Apache NetBeans on Ubuntu, follow the steps below:

Step 1: Install Java JDK

Before installing NetBeans, you’ll need to install Java. It requires Java 8 or later Java Development Kit installed.

For this post, we’re going to be install OpenJDK 11. You can install other versions as you see fit in your environment.

To install Java 11, run the commands below:

sudo apt update
sudo apt install openjdk-11-jdk openjdk-11-source

After installing Java JDK to your system, continue below to get NetBeans installed.

Step 2: Install NetBeans

For this tutorial we’re going to be installing NetBeans via Snap. There are multiple ways to install NetBeans and installing via Snap is the quickest and easiest.

Snaps are containerized software packages that are simple to create and install.

Snap applications are packaged with all their dependencies to run on all popular Linux distributions from a single build which allow them to update automatically and roll back gracefully.

To install NetBeans via snap, run the commands below:

sudo apt install snap 
sudo snap install netbeans --classic

After installing, launch the application and begin building great applications.

You can start building your apps using NetBeans


This post showed you how to install NetBeans on Ubuntu systems via Snap. NetBeans IDE is a great application that allows to to build great applications.

If you find any error above, please use the form below to report.

1 Comment

  1. I installed it but I don’t know how to run it. If i run it, Ntebeans 10.0 starts.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.