How to Install NetBeans IDE 11.0 on Ubuntu, Debian, Linux Mint

NetBeans is a very powerful Integrated Development Environment (IDE) tool mostly used for Java and C/C++ Development. It allows you easily develop Web, Desktop and Mobile Applications from its modular framework. You can add support for other Programming Languages such as PHP, HTML, JavaScript, C, C++, Ajax, JSP, Ruby on Rails e.t.c using extensions.

NetBeans IDE 11.0 has been released with support for Java JDK 11. It also comes with the following features:

Support for PHP 7.0 through 7.3, PHPStan and Twig.

Include modules in the “webcommon” cluster. I.e. All JavaScript features in Apache NetBeans GitHub are part of Apache NetBeans 10.

Modules in the “groovy” cluster are included in Apache NetBeans 10.

OpenJDK can Automatically detect JTReg from OpenJDK configuration and register the expanded JDK as a Java Platform.

Step 2: Unzip Downloaded file

Step 3: Move netbeans folder to /opt

Let’s now move the netbeans/ folder to /opt

sudo mv netbeans/ /opt/

The Netbeans executable binary is located under /opt/netbeans/bin/netbeans. We need to add its parent directory to our $PATH so that we can launch the program without specifying the absolute path to the binary file.

Open your ~/.bashrc or ~/.zshrc file.

$ nano ~/.bashrc

Add the following line at the end of the file

export PATH="$PATH:/opt/netbeans/bin/"

Source the file to Start Netbeans without shell restart.

$ source ~/.bashrc

Step 4: Start Netbeans IDE

Now that you have downloaded and installed Netbeans IDE, you can launch it from your terminal like below:

$ netbeans

You should get output like this

Once the application is started, you should see default welcome page for NetBeans.

You can install available Plugins under My NetBeans > Available Plugins