The following article uses options that are available starting with the For Java edition and project type.
This tutorial will guide you through the packaging of a Java application into a Mac OS X compliant package.
Start Advanced Installer. 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 thetoolbar 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 thetoolbar button.
Click on the OK.button and browse to and select the JAR file you added in “Files and Folders” page. Click
Go to “Mac OS X” tab and check the “Include the Java Product in the Mac OS build” option.
Click on thetoolbar 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.