Apache NetBeans IDE 12 Silent Install (How-To Guide)

Apache NetBeans is an integrated development environment for Java. NetBeans allows applications to be developed from a set of modular software components called modules. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Apache NetBeans IDE 12 from the command line using the EXE installer.

How to Install Apache NetBeans IDE 12 Silently

Apache NetBeans IDE 12.4 Silent Install (EXE)

  1. Navigate to: https://netbeans.apache.org/download/nb124/nb124.html
  2. Download the Apache-NetBeans-12.4-bin-windows-x64.exe to a folder created at (C:\Downloads)
  3. Install Java JDK 8 or newer
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the C:\Downloads folder
  6. Enter the following command to Create an Installation Options File:
    • Apache-NetBeans-12.4-bin-windows-x64.exe --record state.xml
  7. Press Enter
  8. Complete the installation wizard and configure your preferred settings
  9. Once the installation has completed, you will find the Installation Options File (state.xml) in the C:\Downloads folder
  10. Uninstall Apache NetBeans
  11. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  12. Navigate to the C:\Downloads folder
  13. Enter the following command:
    • Apache-NetBeans-12.4-bin-windows-x64.exe --silent --state state.xml
  14. Press Enter

After a few minutes you should see the Apache NetBeans Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Apache NetBeans IDE 12.4
Vendor:Apache NetBeans
Version:12.4
Architecture:x64
Installer Type:EXE
Silent Install Switch (Step 1)jdk-8uXXX-windows-x64.exe /s
Silent Install Switch (Step 2)Apache-NetBeans-12.4-bin-windows-x64.exe --silent --state state.xml
Silent Uninstall Switch:"%ProgramFiles%\NetBeans-12.4\uninstall.exe" --silent
Download Link:https://netbeans.apache.org/download/nb124/nb124.html
PowerShell Script:https://silentinstallhq.com/apache-netbeans-ide-12-install-and-uninstall-powershell/

Apache NetBeans IDE 12.3 Silent Install (EXE)

  1. Navigate to: https://netbeans.apache.org/download/nb123/nb123.html
  2. Download the Apache-NetBeans-12.3-bin-windows-x64.exe to a folder created at (C:\Downloads)
  3. Install Java JDK 8 or newer
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the C:\Downloads folder
  6. Enter the following command to Create an Installation Options File:
    • Apache-NetBeans-12.3-bin-windows-x64.exe --record state.xml
  7. Press Enter
  8. Complete the installation wizard and configure your preferred settings
  9. Once the installation has completed, you will find the Installation Options File (state.xml) in the C:\Downloads folder
  10. Uninstall Apache NetBeans
  11. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  12. Navigate to the C:\Downloads folder
  13. Enter the following command:
    • Apache-NetBeans-12.3-bin-windows-x64.exe --silent --state state.xml
  14. Press Enter

After a few minutes you should see the Apache NetBeans Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Apache NetBeans IDE 12.3
Vendor:Apache NetBeans
Version:12.3
Architecture:x64
Installer Type:EXE
Silent Install Switch (Step 1)jdk-8uXXX-windows-x64.exe /s
Silent Install Switch (Step 2)Apache-NetBeans-12.3-bin-windows-x64.exe --silent --state state.xml
Silent Uninstall Switch:"%ProgramFiles%\NetBeans-12.3\uninstall.exe" --silent
Download Link:https://netbeans.apache.org/download/nb123/nb123.html
PowerShell Script:https://silentinstallhq.com/apache-netbeans-ide-12-install-and-uninstall-powershell/

Apache NetBeans IDE 12.2 Silent Install (EXE)

  1. Navigate to: https://netbeans.apache.org/download/nb122/nb122.html
  2. Download the Apache-NetBeans-12.2-bin-windows-x64.exe to a folder created at (C:\Downloads)
  3. Install Java JDK 8 or newer
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the C:\Downloads folder
  6. Enter the following command to Create an Installation Options File:
    • Apache-NetBeans-12.2-bin-windows-x64.exe --record state.xml
  7. Press Enter
  8. Complete the installation wizard and configure your preferred settings
  9. Once the installation has completed, you will find the Installation Options File (state.xml) in the C:\Downloads folder
  10. Uninstall Apache NetBeans
  11. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  12. Navigate to the C:\Downloads folder
  13. Enter the following command:
    • Apache-NetBeans-12.2-bin-windows-x64.exe --silent --state state.xml
  14. Press Enter

After a few minutes you should see the Apache NetBeans Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Apache NetBeans IDE 12.2
Vendor:Apache NetBeans
Version:12.2
Architecture:x64
Installer Type:EXE
Silent Install Switch (Step 1)jdk-8uXXX-windows-x64.exe /s
Silent Install Switch (Step 2)Apache-NetBeans-12.2-bin-windows-x64.exe --silent --state state.xml
Silent Uninstall Switch:"%ProgramFiles%\NetBeans-12.2\uninstall.exe" --silent
Download Link:https://netbeans.apache.org/download/nb122/nb122.html
PowerShell Script:https://silentinstallhq.com/apache-netbeans-ide-12-install-and-uninstall-powershell/

Apache NetBeans IDE 12.1 Silent Install (EXE)

  1. Navigate to: https://netbeans.apache.org/download/nb121/nb121.html
  2. Download the Apache-NetBeans-12.1-bin-windows-x64.exe to a folder created at (C:\Downloads)
  3. Install Java JDK 8 or newer
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the C:\Downloads folder
  6. Enter the following command to Create an Installation Options File:
    • Apache-NetBeans-12.1-bin-windows-x64.exe --record state.xml
  7. Press Enter
  8. Complete the installation wizard and configure your preferred settings
  9. Once the installation has completed, you will find the Installation Options File (state.xml) in the C:\Downloads folder
  10. Uninstall Apache NetBeans
  11. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  12. Navigate to the C:\Downloads folder
  13. Enter the following command:
    • Apache-NetBeans-12.1-bin-windows-x64.exe --silent --state state.xml
  14. Press Enter

After a few minutes you should see the Apache NetBeans Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Apache NetBeans IDE 12.1
Vendor:Apache NetBeans
Version:12.1
Architecture:x64
Installer Type:EXE
Silent Install Switch (Step 1)jdk-8uXXX-windows-x64.exe /s
Silent Install Switch (Step 2)Apache-NetBeans-12.1-bin-windows-x64.exe --silent --state state.xml
Silent Uninstall Switch:"%ProgramFiles%\NetBeans-12.1\uninstall.exe" --silent
Download Link:https://netbeans.apache.org/download/nb121/nb121.html
PowerShell Script:https://silentinstallhq.com/apache-netbeans-ide-12-install-and-uninstall-powershell/

Apache NetBeans IDE 12.0 Silent Install (EXE)

  1. Navigate to: https://netbeans.apache.org/download/nb120/nb120.html
  2. Download the Apache-NetBeans-12.0-bin-windows-x64.exe to a folder created at (C:\Downloads)
  3. Install Java JDK 8 or newer
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the C:\Downloads folder
  6. Enter the following command to Create an Installation Options File:
    • Apache-NetBeans-12.0-bin-windows-x64.exe --record state.xml
  7. Press Enter
  8. Complete the installation wizard and configure your preferred settings
  9. Once the installation has completed, you will find the Installation Options File (state.xml) in the C:\Downloads folder
  10. Uninstall Apache NetBeans
  11. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  12. Navigate to the C:\Downloads folder
  13. Enter the following command:
    • Apache-NetBeans-12.0-bin-windows-x64.exe --silent --state state.xml
  14. Press Enter

After a few minutes you should see the Apache NetBeans Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Apache NetBeans IDE 12.0
Vendor:Apache NetBeans
Version:12.0
Architecture:x64
Installer Type:EXE
Silent Install Switch (Step 1)jdk-8uXXX-windows-x64.exe /s
Silent Install Switch (Step 2)Apache-NetBeans-12.0-bin-windows-x64.exe --silent --state state.xml
Silent Uninstall Switch:"%ProgramFiles%\NetBeans-12.0\uninstall.exe" --silent
Download Link:https://netbeans.apache.org/download/nb120/nb120.html
PowerShell Script:https://silentinstallhq.com/apache-netbeans-ide-12-install-and-uninstall-powershell/

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.


Additional Configurations

Suppress & Disable Usage Statistics Prompt

Apache NetBeans IDE 12.4

  • Open Notepad or your favorite text editor
  • Add the following lines:
usageStatisticsEnabled=false
usageStatisticsNbOfIdeStarts=2
usageStatisticsSetByIde=true
  • Save the file to C:\Downloads and name it: core.properties
  • Follow the “How to Install Apache NetBeans IDE 12 Silently” steps mentioned earlier in the article
  • Create the following folder “%AppData%\NetBeans\12.4\config\Preferences\org\netbeans” (if not present)
  • Copy the core.properties file to “%AppData%\NetBeans\12.4\config\Preferences\org\netbeans”

Apache NetBeans IDE 12.3

  • Open Notepad or your favorite text editor
  • Add the following lines:
usageStatisticsEnabled=false
usageStatisticsNbOfIdeStarts=2
usageStatisticsSetByIde=true
  • Save the file to C:\Downloads and name it: core.properties
  • Follow the “How to Install Apache NetBeans IDE 12 Silently” steps mentioned earlier in the article
  • Create the following folder “%AppData%\NetBeans\12.3\config\Preferences\org\netbeans” (if not present)
  • Copy the core.properties file to “%AppData%\NetBeans\12.3\config\Preferences\org\netbeans”

Apache NetBeans IDE 12.2

  • Open Notepad or your favorite text editor
  • Add the following lines:
usageStatisticsEnabled=false
usageStatisticsNbOfIdeStarts=2
usageStatisticsSetByIde=true
  • Save the file to C:\Downloads and name it: core.properties
  • Follow the “How to Install Apache NetBeans IDE 12 Silently” steps mentioned earlier in the article
  • Create the following folder “%AppData%\NetBeans\12.2\config\Preferences\org\netbeans” (if not present)
  • Copy the core.properties file to “%AppData%\NetBeans\12.2\config\Preferences\org\netbeans”

Apache NetBeans IDE 12.1

  • Open Notepad or your favorite text editor
  • Add the following lines:
usageStatisticsEnabled=false
usageStatisticsNbOfIdeStarts=2
usageStatisticsSetByIde=true
  • Save the file to C:\Downloads and name it: core.properties
  • Follow the “How to Install Apache NetBeans IDE 12 Silently” steps mentioned earlier in the article
  • Create the following folder “%AppData%\NetBeans\12.1\config\Preferences\org\netbeans” (if not present)
  • Copy the core.properties file to “%AppData%\NetBeans\12.1\config\Preferences\org\netbeans”

Apache NetBeans IDE 12.0

  • Open Notepad or your favorite text editor
  • Add the following lines:
usageStatisticsEnabled=false
usageStatisticsNbOfIdeStarts=2
usageStatisticsSetByIde=true
  • Save the file to C:\Downloads and name it: core.properties
  • Follow the “How to Install Apache NetBeans IDE 12 Silently” steps mentioned earlier in the article
  • Create the following folder “%AppData%\NetBeans\12.0\config\Preferences\org\netbeans” (if not present)
  • Copy the core.properties file to “%AppData%\NetBeans\12.0\config\Preferences\org\netbeans”

How to Uninstall Apache NetBeans IDE 12 Silently

Check out the Apache NetBeans IDE 12 Install and Uninstall (PowerShell) post for a scripted solution.

  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter one of the following commands:

Apache NetBeans IDE 12.4 Silent Uninstall (EXE)

"%ProgramFiles%\NetBeans-12.4\uninstall.exe" --silent

Apache NetBeans IDE 12.3 Silent Uninstall (EXE)

"%ProgramFiles%\NetBeans-12.3\uninstall.exe" --silent

Apache NetBeans IDE 12.2 Silent Uninstall (EXE)

"%ProgramFiles%\NetBeans-12.2\uninstall.exe" --silent

Apache NetBeans IDE 12.1 Silent Uninstall (EXE)

"%ProgramFiles%\NetBeans-12.1\uninstall.exe" --silent

Apache NetBeans IDE 12.0 Silent Uninstall (EXE)

"%ProgramFiles%\NetBeans-12.0\uninstall.exe" --silent

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.