{"id":11390,"date":"2022-02-01T11:30:10","date_gmt":"2022-02-01T08:30:10","guid":{"rendered":"https:\/\/kifarunix.com\/?p=11390"},"modified":"2024-03-09T10:24:44","modified_gmt":"2024-03-09T07:24:44","slug":"install-netbeans-ide-on-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-netbeans-ide-on-ubuntu-22-04\/","title":{"rendered":"Install NetBeans IDE on Ubuntu 22.04"},"content":{"rendered":"\n

In this tutorial, you will learn how to install NetBeans IDE on Ubuntu 22.04. NetBeans IDE<\/a> is a free and open source extensible Java IDE (Integrated Development Environment) that enable software developers to quickly and easily develop Java desktop, Java EE, and web applications, as well as HTML5 applications with HTML, JavaScript, and CSS. The IDE also provides a great set of tools for PHP, Ruby and C\/C++ developers.<\/a><\/p>\n\n\n\n

Install NetBeans IDE on Ubuntu 22.04<\/h2>\n\n\n\n

Install Java Development Kit on Ubuntu 22.04<\/h3>\n\n\n\n

NetBeans IDE requires Java Development Kit version 8 or above. In this guide, we use Java 11, which is the default available version on Ubuntu 22.04 main repos.<\/p>\n\n\n\n

apt update<\/code><\/pre>\n\n\n\n
apt install default-jdk<\/code><\/pre>\n\n\n\n

To verify the version of the installed Java development kit, run the command below;<\/p>\n\n\n\n

java -version<\/code><\/pre>\n\n\n\n
openjdk version \"11.0.14\" 2022-01-18\nOpenJDK Runtime Environment (build 11.0.14+9-Ubuntu-0ubuntu2)\nOpenJDK 64-Bit Server VM (build 11.0.14+9-Ubuntu-0ubuntu2, mixed mode, sharing)<\/code><\/pre>\n\n\n\n

Install NetBeans IDE on Ubuntu<\/h3>\n\n\n\n

There are different methods in which you can install NetBeans IDE on Ubuntu. These include;<\/p>\n\n\n\n

    \n
  1. Install NetBeans on Ubuntu using NetBeans installer script<\/a><\/li>\n\n\n\n
  2. Install NetBeans from Snaps<\/a><\/li>\n<\/ol>\n\n\n\n

    Install NetBeans on Ubuntu using NetBeans installer script<\/h4>\n\n\n\n

    To install NetBeaNavigate to Apache NetBeans downloads page<\/a> and grab the installer script for Linux. You can simply run the command below to download it (for version 12.6).<\/p>\n\n\n\n

    wget https:\/\/dlcdn.apache.org\/netbeans\/netbeans-installers\/12.6\/Apache-NetBeans-12.6-bin-linux-x64.sh<\/code><\/pre>\n\n\n\n

    Once the download is complete, then run the command below to install NetBeans IDE.<\/p>\n\n\n\n

    sudo sh Apache-NetBeans-12.6-bin-linux-x64.sh <\/code><\/pre>\n\n\n\n

    The script will launch the NetBeans installer.<\/p>\n\n\n\n