Install Apache NetBeans 11 on macOS

Apache Netbeans 11 was released in early April 2019. For macOS, however, no installer is currently available. It is only possible to load a zip archive and then unpack it on the hard disk. The zip archive contains a script to start the IDE. However, that is not very comfortable. Ideally, you can find and start the IDE as an application under macOS. As an application there is also the possibility to start the IDE via the Dock. Below I want to show how NetBeans can be installed and configured as an application under macOS.


  1. Download the latest NetBeans release from
  2. Extract the contents of the Zip-File to the Applications folder
  3. Download or clone the contents of the github project Run-script-as-an-Application:
  4. Copy the file Script-sh to /Applications/netbeans/bin folder
  5. Rename the file Script-sh in /Applications/netbeans/bin folder to netbeans
  6. Open the Info-Dialog of the previously renamed file netbeans in macOS Finder and Drag&Drop the Icon from /Applications/netbeans/nb/netbeans.png as new icon.
  7. Right-Click on the file /Applications/netbeans/bin/netbeans and select the function „Show Package Contents“.
  8.  Navigate to /Contents/MacOS and open the file main.command with a text editor.
  9. Add the following line:
    echo $BASEPATH

  10. Voilà you are finished. Now you can start NetBeans by double clicking on the icon or by placing the icon for the application into the Dock.

This procedure can be applied to any type of script or any other application not providing a native installer for macOS.


Unsere Leistungen rund um Integration

Mehr erfahren