Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand



Downloads of v 20.0.0:


Last Update:

19 Dec 2023

Package Maintainer(s):

Software Author(s):

  • Apache Netbeans Team


netbeans.portable netbeans portable Java IDE JavaScript PHP HTML5 CSS HTML Development

Apache Netbeans (Portable)

  • 1
  • 2
  • 3

20.0.0 | Updated: 19 Dec 2023



Downloads of v 20.0.0:



Software Author(s):

  • Apache Netbeans Team

Apache Netbeans (Portable) 20.0.0

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests

Validation Testing Passed

Verification Testing Passed


Scan Testing Successful:

No detections found in any package files

Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Apache Netbeans (Portable), run the following command from the command line or from PowerShell:


To upgrade Apache Netbeans (Portable), run the following command from the command line or from PowerShell:


To uninstall Apache Netbeans (Portable), run the following command from the command line or from PowerShell:


Deployment Method:


This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)

2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade apache-netbeans.portable -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade apache-netbeans.portable -y --source="'INTERNAL REPO URL'" 

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Install apache-netbeans.portable
    name: apache-netbeans.portable
    version: '20.0.0'
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

chocolatey_package 'apache-netbeans.portable' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '20.0.0'

See docs at https://docs.chef.io/resource_chocolatey_package.html.

cChocoPackageInstaller apache-netbeans.portable
    Name     = "apache-netbeans.portable"
    Version  = "20.0.0"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.

package { 'apache-netbeans.portable':
  ensure   => '20.0.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.

4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.


Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...


This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.

  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.

Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

Package Approved

This package was approved as a trusted package on 19 Dec 2023.


Apache NetBeans is an integrated development environment for Java. NetBeans allows applications
to be developedfrom a set of software components called modules.
NetBeans runs on Microsoft Windows, macOS, Linux and Solaris.
In addition to Java development, it has extensions for other languages like
PHP, C, C++, HTML5, and Javascript. Applications based on NetBeans, including the NetBeans IDE,
can be extended by third party developers. Apache Netbeans is the successor of Oracle Netbeans whose
product line ended with version 8.2. In September 2016, Oracle submitted a proposal to donate
the NetBeans project to the Apache Software Foundation, stating that it was "opening up the
NetBeans governance model to give NetBeans constituents a greater voice in the project's
direction and future success through the upcoming release of Java 9 and NetBeans 9 and beyond".
There is no direct upgrade path between Oracle Netbeans and Apache Netbean hence a new
chocolatey package had to be created.

Note: This package does not depend on a particular jdk since there are so many of them now.
In order to use Apache Netbeans it is required to also have one of the following jdks
(Chocolatey package IDs) installed:

  • jdk8, jdk11
  • openjdk.portable
  • openjdk, openjdk11, openjdk12, openjdk13
  • adoptopenjdk, adoptopenjdk8, adoptopenjdk11, adoptopenjdk12, adoptopenjdk13
  • zulu, zulu8, zulu9, zulu10, zulu12, zulu13

Note: For non-Oracle JDKs it might be necessary to configure ist location by setting the
netbeans_jdkhome property in file

Example: netbeans_jdkhome="C:/Program Files/OpenJDK/jdk-13.0.2"

$packageID           = 'apache-netbeans.portable'
$url                 = 'https://downloads.apache.org/netbeans/netbeans/20/netbeans-20-bin.zip'
$shortcutLocation    = 'Portable Apps (Chocolatey)'
$shortcutName        = 'Apache Netbeans.lnk'
$shortcutDescription = 'Apache NetBeans development environment, tooling platform, and application framework.'

$appBase             = Split-Path -Parent `
                                  -Path (Split-Path -Parent $MyInvocation.MyCommand.Definition)
$installlocation     = Join-Path -Path $appBase -ChildPath 'App'
$shortcutRegistry    = Join-Path -Path $appBase -ChildPath 'shortcuts.txt'

Install-ChocolateyZipPackage -packageName   $packageID `
                             -Url           $url `
                             -UnzipLocation $installlocation `
                             -Checksum      '86c792bac26252a767848c8e06d10b3eba1e323ac674a6b6da1d1591b30bf341' `
                             -ChecksumType  'sha256'
$targetBasename = 'netbeans'
if (Get-OSArchitectureWidth -compare 64)
   $targetBasename += '64' 

echo "Creating shortcut for $(Get-OSArchitectureWidth) bit Netbeans"
Get-ChildItem -Name $installlocation -filter '*.exe' -Recurse `
| ForEach-Object {
    [System.IO.FileInfo]$exe = Join-Path -Path $installlocation -ChildPath $_
    if ($exe.BaseName -eq $targetBasename)
      echo '' >"$($exe.FullName).gui"

      ## install a shortcut to the start menu to make this app discoverable
      [string]$shortcutFolder = Join-Path -Path ([environment]::GetFolderPath([environment+specialfolder]::Programs)) `
                                          -ChildPath $shortcutLocation
      [string]$shortcut       = Join-Path -Path $shortcutFolder `
                                          -ChildPath $shortcutName
      # register shortcut for removal on uninstall
      Out-File -InputObject $shortcut `
               -Append `
               -FilePath $shortcutRegistry
      if (![System.IO.Directory]::Exists( $shortcutFolder))
        [System.IO.Directory]::CreateDirectory($shortcutFolder) >$null

      Install-ChocolateyShortcut -ShortcutFilePath $shortcut `
                                 -Targetpath $exe.FullName `
                                 -WorkingDirectory $exe.DirectoryName `
                                 -Description $shortcutDescription
       echo '' >"$($exe.FullName).ignore"
$appBase          = Split-Path -Parent `
                               -Path (Split-Path -Parent $MyInvocation.MyCommand.Definition)
$installlocation  = Join-Path -Path $appBase -ChildPath 'App'
$shortcutRegistry = Join-Path -Path $appBase -ChildPath 'shortcuts.txt'

Get-Content -LiteralPath $shortcutRegistry -ErrorAction:SilentlyContinue `
| Where-Object { -not [string]::IsNullOrEmpty($_) } `
| ForEach-Object {
    Write-Host "Removing Shortcut: $_"
    Remove-Item -LiteralPath $_ -ErrorAction:SilentlyContinue

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Apache Netbeans (Portable) 19.0.0 3096 Tuesday, September 19, 2023 Approved
Apache Netbeans (Portable) 18.0.0 1812 Friday, June 16, 2023 Approved
Apache Netbeans (Portable) 17.0 1015 Thursday, February 23, 2023 Approved
Apache Netbeans (Portable) 16.0 366 Friday, December 30, 2022 Approved
Apache Netbeans (Portable) 15.0 18052 Sunday, September 11, 2022 Approved
Apache Netbeans (Portable) 14.0 17125 Monday, June 20, 2022 Approved
Apache Netbeans (Portable) 13.0 13496 Tuesday, March 8, 2022 Exempted
Apache Netbeans (Portable) 12.6 5881 Monday, December 13, 2021 Approved
Apache Netbeans (Portable) 12.5 3612 Friday, September 24, 2021 Approved
Apache Netbeans (Portable) 12.4 12143 Sunday, June 13, 2021 Approved
Apache Netbeans (Portable) 12.3 841 Saturday, March 20, 2021 Approved
Apache Netbeans (Portable) 12.2 798 Wednesday, December 9, 2020 Approved
Apache Netbeans (Portable) 12.1 613 Thursday, September 17, 2020 Approved
Apache Netbeans (Portable) 12.0 719 Wednesday, June 10, 2020 Approved
Apache Netbeans (Portable) 11.3 713 Thursday, March 5, 2020 Approved
Apache Netbeans (Portable) 11.2 595 Saturday, November 9, 2019 Approved
Apache Netbeans (Portable) 11.1 377 Friday, October 18, 2019 Approved

Discussion for the Apache Netbeans (Portable) Package

Ground Rules:

  • This discussion is only about Apache Netbeans (Portable) and the Apache Netbeans (Portable) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Apache Netbeans (Portable), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus