NetBeans is a free and open source integrated development environment for Java, PHP, C and C++ Applications. You use a set of modular software components called modules in NetBeans to develop your applications. NetBeans is created to simplify the development of enterprise, web, desktop, and mobile applications that use the Java and HTML5 platforms. NetBeans IDE can be installed on Windows, macOS, Linux and Solaris operating systems. This guide title is for installation of NetBeans IDE 12.0 on Linux Mint 20 Desktop but it should work for any other *NIX systems.
$ screenfetch [email protected] MMMMMMMMMMMMMMMMMMMMMMMMMmds+. OS: Linuxmint 20 ulyana MMm----::-://////////////oymNMd+` Kernel: x86_64 Linux 5.4.0-39-generic MMd /++ -sNMd: Uptime: 1m MMNso/` dMM `.::-. .-::.` .hMN: Packages: 2208 ddddMMh dMM :hNMNMNhNMNMNh: `NMm Shell: bash 5.0.16 NMm dMM .NMN/-+MMM+-/NMN` dMM Resolution: 1792x1120 NMm dMM -MMm `MMM dMM. dMM DE: Cinnamon 4.6.6 NMm dMM -MMm `MMM dMM. dMM WM: Muffin NMm dMM .mmd `mmm yMM. dMM WM Theme: Mint-Y-Dark (Mint-Y) NMm dMM` ..` ... ydm. dMM GTK Theme: Mint-Y [GTK2/3] hMM- +MMd/-------...-:sdds dMM Icon Theme: Mint-Y -NMm- :hNMNNNmdddddddddy/` dMM Font: Ubuntu 10 -dMNs-``-::::-------.`` dMM Disk: 470G / 2.0T (24%) `/dMNmy+/:-------------:/yMMM CPU: Intel Core i9-9880H @ 2x 2.304GHz [77.0°C] ./ydNMMMMMMMMMMMMMMMMMMMMM GPU: Parallels using AMD Radeon Pro 5500M OpenGL Engine \.MMMMMMMMMMMMMMMMMMM RAM: 814MiB / 1981MiB
Apache NetBeans 12.0 is the first LTS release of NetBeans as a top level Apache project.
Install NetBeans IDE 12.0 on Linux Mint 20
The latest release of NetBeans as of this article is version 12.0. Some of its new features are:
- Support for the latest Java language features – Java 14 / Java 13 / Java 12
- Integrates new code donations from Oracle for Java Web development
- Enhances its best of breed Apache Maven tooling
- Brings multiple enhancements for users of Gradle
- Includes built-in features for Payara and WildFly for the first time
- Introduces new out of the box templates for JavaFX
- Upgrades and extends its PHP editor
- Provides new dark look and feel options
- Includes a wide range of fixes.
You can visit the project release page for more details.
Step 1: Update Linux Mint System
I recommend you update your OS packages before installing NetBeans 12.0 IDE on Linux Mint.
sudo apt update sudo apt -y upgrade sudo reboot
Wait for the system to be rebooted then login and proceed with other parts of the installation.
Step 2: Install Java on Linux Mint
One of the key requirements for running NetBeans IDE is Java which can be installed with the commands below.
sudo apt install -y default-jdk
If Java is installed successfully a query on the version should give you an output similar to below:
$ java --version openjdk 11.0.7 2020-04-14 OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-3ubuntu1) OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-3ubuntu1, mixed mode, sharing)
Step 3: Download and Install NetBeans IDE on Linux Mint 20
We’ll install NetBeans IDE on Linux Mint from the installer script available on Downloads page.
sudo apt update sudo apt install -y wget
Download NetBeans 12.0 on Linux Mint 20.
Make the script executable:
chmod +x Apache-NetBeans-12.0-bin-linux-x64.sh
Run the script to install NetBeans on Linux Mint 20:
The installation wizard should appear in the next screen. Just click “Next” to begin installation.
Read through the License Agreement policy and Agree to continue with the installation.
Confirm or change installation directory for NetBeans IDE.
Review summary and hit the Install button.
The installation of Apache NetBeans IDE and runtimes should be started.
Wait for the installation to complete.
Step 4: Launch NetBeans IDE on Linux Mint 20
You can launch the NetBeans IDE on Linux Mint from the Cinnamon DE search section or from the CLI. For GUI go to Programming > Apache NetBeans 12.0.
Application console should show after starting it.
Congratulations for the successful installation of NetBeans IDE on Linux Mint Desktop machine. Consider joining the Apache NetBeans Community to get updates on project development and helping the team in various ways.
Developer course materials: