How To Install NetBeans On Windows

By bhagwatchouhan
How To Install NetBeans On Windows

NetBeans is one of the most popular and free IDE used to develop JAVA, PHP, and JavaScript applications. It provides several in-built features including code hinting, database tool, git, svn, etc required to develop software using Java, PHP, JavaScript, HTML, CSS, and many other languages. It enables the plugins for PHP, JavaScript, etc when required. This tutorial provides all the steps required to install NetBeans 11 on Windows 10 using the installer provided by Apache. The highlights of NetBeans are available on the Official Page from Apache as shown in Fig 1.

Notes: The updated version of this tutorial is available at How To Install NetBeans 12 On Windows.

NetBeans 11 Welcome Page

Fig 1

 

Prerequisites

NetBeans assumes that the appropriate version of JDK is installed on the System. NetBeans 11 needs at least JDK 8 to continue the installation. You can follow How To Install Java 14 On Windows, How To Install OpenJDK 14 On Windows, or How To Install Java 8 On Windows 10 to install the most recent version of JDK on your Windows system. The installer threw an error (java.lang.NoClassDefFoundError: java/util/jar/Pack200) with Java 14, hence I have to switch back to Java 8 on my system path.

 

Download NetBeans 11

Click the Find Out More Button as shown in Fig 1. It will navigate to the NetBeans Features Page as shown in Fig 2.

NetBeans 11 Features

Fig 2

Now click the Download Button to navigate to the Downloads Page of NetBeans as shown in Fig 3.

NetBeans 11 Download

Fig 3

I have highlighted the download options for windows using the installer. Now click the Windows Installer Link. It will open the page having download links from the mirror sites as shown in Fig 4.

NetBeans 11 Download Mirrors

Fig 4

Now click the suggested download link as highlighted in Fig 4. It will start downloading the most recent release of NetBeans 11.

 

Install NetBeans 11

In this step, we will install NetBeans on Windows 10 using the installer downloaded by us in the previous step. Confirm the currently installed and active Java version as shown in Fig 5.

Java Version Test

Fig 5

Execute the installer to start installing NetBeans on Windows. It will ask for system permissions to continue the installation. Click the Yes Button to continue the installation. Next, it will show the Welcome Screen as shown in Fig 6.

NetBeans 11 Installation - Welcome

Fig 6

It provides options to customize the components to be installed using the Customize Button as shown in Fig 7.

NetBeans 11 Installation - Components

Fig 7

I kept all the components selected and clicked the Next Button to continue the installation. The installer asks to accept the License Agreement on the next screen as shown in Fig 8.

NetBeans 11 Installation - License Agreement

Fig 8

Now click the Next Button to configure the installation path and JDK path as shown in Fig 9.

NetBeans 11 Installation - Paths

Fig 9

Click the Next Button to progress the installation. The next screen shows the installation summary and provides options to get updates as shown in Fig 10.

NetBeans 11 Installation - Summary

Fig 10

Now click the Install Button to start the installation. It will show the installation progress as shown in Fig 11.

NetBeans 11 Installation - Progress

Fig 11

It will show the Success Screen after complete the installation as shown in Fig 12.

NetBeans 11 Installation - Complete

Fig 12

Now click the Finish Button to close the installer.

 

Launch the IDE

We can launch the IDE using the launcher icon placed on the Desktop. It will start the IDE and shows the Welcome Screen and the Default Panels as shown in Fig 13 and Fig 14.

NetBeans 11 - IDE

Fig 13

Netbeans 11 Default Layout

Fig 14

I have re-configured the most recent version of Java i.e. Java 14 to be the default JDK. You might be required to remove the local path of Java if it gets created while installing Java 8 as shown in Fig 15.

NetBeans 11 - Local Environment Variable

Fig 15

 

Hello World

This section provides links to HelloWorld projects using Netbeans.

Hello World Program In PHP Using NetBeans

Hello World Program In Java Using NetBeans

 

Summary

This tutorial provided all the steps required to install the most recent version of NetBeans 11 on Windows for Java, JavaScript, and PHP development.

Share this blog:

Profile picture for user bhagwatchouhan
bhagwatchouhan