Skip to content

codelerity/netbeans-installers

Repository files navigation

Apache NetBeans installers

NBPackage configuration and build files for the Codelerity / Gj IT installers for Apache NetBeans.

For more information see https://www.codelerity.com/netbeans/

Build

This repository contains configuration files for building an Inno Setup Windows installer, Linux Deb packages (x64 / all), and Linux AppImages (x64 / Arm).

Before starting, download and unzip nbpackage-1.0-beta4-bin into an nbpackage directory. Executing ./nbpackage/bin/nbpackage --help should show the help text for the packager.

Download a copy of the official Apache NetBeans binary zip release, and check against the hash file in the repository.

Create a dist directory for output files.

TIP : pass --verbose with any execution of nbpackage to see all output from external build tools.

Build Inno Setup installer

You will require an installation of Inno Setup from https://jrsoftware.org/isdl.php.

The configuration files here are designed to build on Linux via an installation of Inno Setup in Wine. Tweak the configuration file to point to the right place if building on Windows, and use nbpackage.bat.

Download the right Azul Zulu JDK into the windows-x64-iss directory, checking against the Azul provided hash. To use a different JDK, update the configuration file.

Build the installer by running -

./nbpackage/bin/nbpackage --input netbeans-21-bin.zip --config windows-x64-iss/netbeans-windows-x64.properties --output dist/

Build MacOS installer

You will require swift, codesign and pkgbuild installed on the system.

Download the right Azul Zulu JDK into the macos-x64 directory, checking against the Azul provided hash. To use a different JDK, update the configuration file.

Add your Apple developer IDs for code signing and installer signing to the configuration file.

Build the installer by running -

./nbpackage/bin/nbpackage --input netbeans-21-bin.zip --config macos-x64/netbeans-macos-x64.properties --output dist/

Build DEB packages

You will require fakeroot, dpkg and dpkg-deb on the system. The DEB package must currently be built on the architecture it is designed for. Download the right Azul Zulu JDK into the linux-x64 or linux-aarch64 directory and check against the provided hash file.

Build the package by running eg. -

./nbpackage/bin/nbpackage --input netbeans-21-bin.zip --config linux-x64/netbeans-x64-deb.properties --output dist/

Build RPM packages

You will require rpm and rpmbuild on the system. If building the x64 package, download the right Azul Zulu JDK into the linux-x64 directory and check against the provided hash file.

Build the package by running eg. -

./nbpackage/bin/nbpackage --input netbeans-21-bin.zip --config linux-x64/netbeans-x64-rpm.properties --output dist/

Build AppImages

AppImages must be built on the architecture they are designed for.

Download the x64 executable of AppImageKit into the relevant directory, checking against the provided hash. AppImageKit is itself an AppImage - make sure to mark it executable before continuing.

Build the AppImage by running eg. -

./nbpackage/bin/nbpackage --input netbeans-21-bin.zip --config linux-x64/netbeans-x64-appimage.properties --output dist/

Legal

These packages are provided without warranty, and under the licenses and terms of the bundled software. Please make sure you're familiar with all terms before downloading. Apache NetBeans is provided under the terms of the Apache Software License. Some of the packages include an Azul Zulu build of OpenJDK. Please see terms and licenses linked for the relevant JDK.

Apache, Apache NetBeans and the Apache NetBeans logo are trademarks or registered trademarks of the Apache Software Foundation. Azul and Azul Zulu are trademarks or registered trademarks of Azul Systems, Inc. Java and OpenJDK are registered trademarks of Oracle and/or its affiliates. All other trademarks are the property of their respective holders and used here only for identification purposes.