Downloads of v 15.0:


Last Update:

11 Sep 2022

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

15.0 | Updated: 11 Sep 2022



Downloads of v 15.0:



Software Author(s):

  • Apache Netbeans Team

  • 1
  • 2
  • 3
Apache Netbeans (Portable) 15.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:

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

1. Enter Your Internal Repository Url

(this should look similar to

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 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: '15.0'
    state: present

See docs at

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

See docs at

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

Requires cChoco DSC Resource. See docs at

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

Requires Puppet Chocolatey Provider module. See docs at

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.

This package was approved as a trusted package on 11 Sep 2022.


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

$packageID           = 'apache-netbeans.portable'
$url                 = ''
$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      'b5f8bdf2372e91c29f7d09200d9c3d19a1fea88c483286003a4e15d0b1e68d12' `
                             -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) 14.0 17089 Monday, June 20, 2022 Approved
Apache Netbeans (Portable) 13.0 13470 Tuesday, March 8, 2022 Exempted
Apache Netbeans (Portable) 12.6 5844 Monday, December 13, 2021 Approved
Apache Netbeans (Portable) 12.5 3576 Friday, September 24, 2021 Approved
Apache Netbeans (Portable) 12.4 12100 Sunday, June 13, 2021 Approved
Apache Netbeans (Portable) 12.3 815 Saturday, March 20, 2021 Approved
Apache Netbeans (Portable) 12.2 764 Wednesday, December 9, 2020 Approved
Apache Netbeans (Portable) 12.1 573 Thursday, September 17, 2020 Approved
Apache Netbeans (Portable) 12.0 685 Wednesday, June 10, 2020 Approved
Apache Netbeans (Portable) 11.3 685 Thursday, March 5, 2020 Approved
Apache Netbeans (Portable) 11.2 548 Saturday, November 9, 2019 Approved
Apache Netbeans (Portable) 11.1 335 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