To build binaries, only Linux OS is known to work, using the MinGW project. On Ubuntu, this may work to install suitable MinGW:
$ apt install mingw-w64 mingw-w64-tools
The command to build the launchers:
$ mvn clean install
Subscribe or mail the users@netbeans.apache.org list - Ask questions, find answers, and also help other users.
Subscribe or mail the dev@netbeans.apache.org list - Join developement discussions, propose new ideas and connect with contributors.
Use our main repository issue reporting https://github.com/apache/netbeans/issues