How to Install Netbeans on Linux Mint 19

Install Netbeans on Linux Mint 19
Install Netbeans on Linux Mint 19

Install Netbeans on Linux Mint 19

Netbeans is a most popular cross-platform IDE (Integrated Development Environment) supports programming languages like Java, PHP, C, C++, Python, etc. for building applications. Netbeans is a fully featured IDE which comes with a lot of cool features like syntax highlighting, code refactoring, code generation, etc. You can also extend its features by using plugins. In this tutorial, you are going to learn how to install Netbeans on Linux Mint 19.

Prerequisites

Before you start to install Netbeans on Linux Mint 19. You must have the non-root user account on your system with sudo privileges.

Install Snappy Package Manager

Snappy provides better package management support for Linux Mint 19. It’s quick and easy to use. To install Snappy package manager type following command. If its already installed on the system skip to next step:

NOTE: Linux Mint 19 may have already installed Snappy package manager.

sudo apt install snapd snapd-xdg-open

Install OpenJDK on Linux Mint 19

Now follow below instructions to install Netbeans on Linux Mint 19:

Netbeans requires Java 8 or higher version to be installed on your system. Run the following command to check if Java is installed on your system. If it’s installed, you will see java version otherwise you will get command not found error:

java -version

If java is not installed on your system the run following command to update package manager index:

sudo apt update

Now install OpenJDK 8 package by using following command:

sudo apt install openjdk-8-jdk

Now confirm the installation using the following command:

java -version

The output should be:

openjdk version "1.8.0_191"
OpenJDK Runtime Environment 
OpenJDK 64-Bit Server VM

Install Netbeans on Linux Mint

Here we will use the snappy package management system to install Netbeans on Linux Mint:

To download and install Netbeans on Linux Mint 19 you can run the following command:

sudo snap install netbeans --classic

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

netbeans 10.0 from 'apache-netbeans' installed

Start Netbeans IDE

You can start Netbeans IDE by using following command in the terminal:

netbeans

Otherwise you can start it by visiting Activities -> Netbeans like given below:

How to install Netbeans - Activities
How to install Netbeans – Activities

You will see the following screen on starting NetBeans:

How to install Netbeans - Home screen
How to install Netbeans – Home screen

Conclusion

You have successfully learned how to Install Netbeans on Linux Mint 19. If you have any queries regarding this then please don’t forget to comment below.

LEAVE A REPLY

Please enter your comment!
Please enter your name here