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.
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.