How to Install Netbeans on Ubuntu 18.04 Bionic Beaver

Install Netbeans on Ubuntu 18.04

In this article, we will have explained the necessary steps to install and configure Netbeans on Ubuntu 18.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Netbeans is a full-featured cross-platform IDE that helps you build applications in Java, PHP, and many other languages. NetBeans IDE offers platform framework for Java desktop applications and an integrated development environment for developing with Java, JavaScript, PHP, Python (no longer supported after NetBeans 7), Groovy, C, C++, Scala, Clojure, and others.

Install Netbeans on Ubuntu

Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.

Step 2. Install OpenJDK 8.

Netbeans requires Java version 8 or above to be installed to your system:

Verify the Java version:

Step 3. Install NetBeans.

To download and install Netbeans on Ubuntu 18.04 you can run the following command:

After completing the download and the installation process you can see the following output:

Step 4. Starting Netbeans IDE.

Now that Netbeans is installed on your Ubuntu system you can start it typing netbeans in your terminal or by clicking on the Netbeans icon (Activities -> Netbeans).

That’s all you need to do to install Netbeans on Ubuntu 18.04 Bionic Beaver. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.