Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

Install Apache NetBeans on Windows

Install a JDK, download NetBeans and run your first Java application.

Windows Hosting2 min read16 steps8 screenshots

Before you start

  1. NetBeans works on Windows 7, 8, 10 and 11.
  2. You need an internet connection to download it.
  3. You need administrator rights.
  4. You need free disk space (about 1 GB for the IDE plus your projects).
  5. To develop Java apps, install a JDK first. NetBeans needs a supported JDK (for example JDK 17 or newer for recent versions).

Install

  1. Open the Apache NetBeans website and go to the download page. Download the Windows installer (.exe) of the latest version.
    The NetBeans website
  2. Run the installer.
    The NetBeans installer
  3. Click Next. Accept the license agreement.
    The NetBeans license
  4. Choose the install folder and the JDK that NetBeans will use.
    Choosing the directory
  5. Customize the install if you want to add or remove features.
    Customizing the install
  6. Click Install and wait for the download and install of the files.
    Downloading NetBeans
    Installing NetBeans
  7. Click Finish and start NetBeans.

Create a Java application

  1. Choose File, New Project.
  2. Select Java with Maven (or Java with Ant), then Java Application, and click Next.
  3. Name the project and click Finish.
  4. Press F6 to run it.
    A Java application in NetBeans

Good to know

  • NetBeans has regular updates with new features and bug fixes. Check for updates in the IDE.
  • You can change the look, the fonts and the shortcuts under Tools, Options.
  • Plugins add support for PHP, JavaScript, C/C++ and more.

Quick recap

  • Install a JDK, then run the NetBeans installer.
  • Select the JDK in the installer.
  • Create a project and press F6.