The following article uses options that are available starting with the Professional edition and project type.
This tutorial will guide you through the packaging of a Java application into a Mac OS X compliant package.
JavaPackager is a hybrid plugin for Maven and Gradle which provides an easy way to package Java applications in native Windows, Mac OS X or GNU/Linux executables, and generates installers for them. SNAPSHOT version is not released to Maven Central, so you have to install it manually. 👀 See JavaPackager changes and fixes. How to use this plugin. Because Java for OS X is so easy installable and the operating system will notify you to install it right away the first time you're trying to run a Java application on your Mac, developers that use it to create their applications can start distributing them on the Mac platform right away.
Start Advanced Installer. Hikvision plugin firefox mac os. Launching Advanced Installer automatically starts a new installation project. Choose “Java” > “Java Application” as the project type.
A good idea is to save and name the project at this point. Use the “Save” menu item under the “File” menu or the Ctrl+S keyboard shortcut and let's name it MacOSXPackage.aip.
Go to the Files and Folders page by clicking on “Files and Folders” on the left pane.
Right click “Application Folder” and select “Add Files”. Browse to the source folder on disk of your JAR file and select it. Click OK.
Go to the Builds page by clicking on “Builds” on the left pane.
Create a new Mac OS X build by clicking on the toolbar button.
Go to the Java Products page by clicking on “Java Products” on the left side page menu.
Create a new Java Product by clicking on the toolbar button.
Click on the button and browse to and select the JAR file you added in “Files and Folders” page. Click OK.
Go to “Mac OS X” tab and check the “Include the Java Product in the Mac OS build” option.
Click on the toolbar button. Two setup packages will be built: a Windows compliant setup and a Mac OS X compliant package. The built Mac OS X package is a self extracting ZIP archive.