Saturday, December 14, 2024
Google search engine
HomeGuest BlogsInstall Apache NetBeans IDE on CentOS 8 | RHEL 8

Install Apache NetBeans IDE on CentOS 8 | RHEL 8

.tdi_3.td-a-rec{text-align:center}.tdi_3 .td-element-style{z-index:-1}.tdi_3.td-a-rec-img{text-align:left}.tdi_3.td-a-rec-img img{margin:0 auto 0 0}@media(max-width:767px){.tdi_3.td-a-rec-img{text-align:center}}

In this guide we will look at how you can install Apache NetBeans on CentOS 8 / RHEL 8 Desktop. Apache NetBeans is a very powerful Integrated Development Environment (IDE) tool that enables you as a Developer create Desktop, Web and Mobile Applications from its modular framework. It supports Java, PHP, HTML, JavaScript, C, C++, Ajax, JSP, Ruby on Rails and other programming languages using extensions.

The Apache NetBeans IDE can be installed on Windows, macOS, Linux and Solaris operating systems. This guide is for installation of Netbeans on CentOS 8 but the installation can be used on any other Linux system. There are two main ways of installing NetBeans IDE – using bundled installer script and manually extracting files and placing them in a path.

Install Apache NetBeans IDE on CentOS 8 / RHEL 8 Desktop

Follow the steps below to install Apache NetBeans on CentOS 8 Desktop. We will start with the installation of Java then we’ll download and run the installer script. Apache NetBeans is the first LTS release of NetBeans as a top level Apache project.

.tdi_2.td-a-rec{text-align:center}.tdi_2 .td-element-style{z-index:-1}.tdi_2.td-a-rec-img{text-align:left}.tdi_2.td-a-rec-img img{margin:0 auto 0 0}@media(max-width:767px){.tdi_2.td-a-rec-img{text-align:center}}

Install NetBeans Dependencies

Netbeans needs Java JDK to run. Let’s begin by installing Java on Fedora system.

sudo dnf install java-17-openjdk java-17-openjdk-devel

Accept installation prompt:

....
Transaction Summary
======================================================================================================================================================================================================
Install  9 Packages

Total download size: 47 M
Installed size: 200 M
Is this ok [y/N]: y

If you have more than one version of Java installed on your CentOS 8 machine, set default one:

$ sudo alternatives --config java
There are 2 programs which provide 'java'.

  Selection    Command
-----------------------------------------------
*+ 1           java-17-openjdk.x86_64 (/usr/lib/jvm/java-17-openjdk-17.0.3.0.7-2.el8_6.x86_64/bin/java)
   2           java-11-openjdk.x86_64 (/usr/lib/jvm/java-11-openjdk-11.0.7.10-1.el8_1.x86_64/bin/java)

Enter to keep the current selection[+], or type selection number: 1

Confirm Java is installed by querying the version.

$ java -version
openjdk version "17.0.3" 2022-04-19 LTS
OpenJDK Runtime Environment 21.9 (build 17.0.3+7-LTS)
OpenJDK 64-Bit Server VM 21.9 (build 17.0.3+7-LTS, mixed mode, sharing)

Download and Install NetBeans IDE on CentOS | RHEL 8

We’ll install NetBeans IDE on Linux Mint from the installer script available on Downloads page.

Download the latest NetBeans IDE installer on CentOS 8 | RHEL 8 Desktop machine.

### Using curl ###
curl -O https://archive.apache.org/dist/netbeans/netbeans-installers/18/apache-netbeans-18-0.noarch.rpm

### Using wget ###
wget https://archive.apache.org/dist/netbeans/netbeans-installers/18/apache-netbeans-18-0.noarch.rpm

Run the installer.

$ sudo rpm -Uvh  apache-netbeans-*.noarch.rpm
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:apache-netbeans-18-0             ################################# [100%]

Launch and use Netbeans IDE

You can then search for NetBeans application and start it to get started with your Development projects.

Netbeans IDE launch

Similar guides:

.tdi_4.td-a-rec{text-align:center}.tdi_4 .td-element-style{z-index:-1}.tdi_4.td-a-rec-img{text-align:left}.tdi_4.td-a-rec-img img{margin:0 auto 0 0}@media(max-width:767px){.tdi_4.td-a-rec-img{text-align:center}}

RELATED ARTICLES

Most Popular

Recent Comments