(Last Updated On: December 28, 2018)

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 10.0 has been released with support for Java JDK 11. It also come 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.
  • Support for JUnit 5.3.1

Please visit the Apache NetBeans 10 page for further detail.

Install NetBeans Dependencies

Netbeans needs Java JDK to run. Since Java 11 is officially supported, you can install it on your Debian / Ubuntu system using our guide below.

How to Install Java 11 on Ubuntu 18.04 /16.04 / Debian 9

For Java 8, install it using commands below

sudo add-apt-repository ppa:webupd8team/java
sudo apt update
sudo apt install oracle-java8-set-default

Confirm installed version of Java:

$ java --version
java 11.0.1 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)

Step 1: Download NetBeans 10.0 Binary

sudo apt -y install wget unzip
wget https://www-us.apache.org/dist/incubator/netbeans/incubating-netbeans/incubating-10.0/incubating-netbeans-10.0-bin.zip

Step 2: Unzip Downloaded file

Unzip the downloaded Netbeans 10.0 file using unzip command like below.

unzip incubating-netbeans-10.0-bin.zip

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

Kudos!. You have successfully installed Netbeans 10.0 on Ubuntu, Debian and Linux Mint system.