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.
NetBeans is an integrated development environment (IDE) for Java. NetBeans allows applications to be developed from a set of modular software components called modules.
Installationsteps:
The IDE provides integrated support for the complete development cycle, from project creation through debugging, profiling and deployment. The IDE runs on Windows, Linux, Mac OS X, and other UNIX-based systems. The IDE provides comprehensive support for JDK 8.
CLion, Netbeans, and Xcode are probably your best bets out of the 11 options considered. 'Great code completion' is the primary reason people pick CLion over the competition. This page is powered by a knowledgeable community that helps you make an informed decision.
NetBeans on MAC OS X uses a version of JDK in some non-explicit way, and it's not always what you want. Usually it's based on the the most recent JDK installation. So if you installed JDK 11, NetBean8.2 will not work without making the configuation file edit suggested in this site.
Download the latest NetBeans release from https://netbeans.apache.org/download/nb110/nb110.html
Extract the contents of the Zip-File to the Applications folder
Download or clone the contents of the github project Run-script-as-an-Application: https://github.com/thedzy/Run-script-as-an-Applicaiton
Copy the file Script-sh to /Applications/netbeans/bin folder
Rename the file Script-sh in /Applications/netbeans/bin folder to netbeans
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.
Right-Click on the file /Applications/netbeans/bin/netbeans and select the function „Show Package Contents“.
Navigate to /Contents/MacOS and open the file main.command with a text editor.