Java Application For Mac Os X



For

Creating 'Native' Java Applications on Mac OS X. If you develop on Mac OS X you can use the Jar Bundler application to turn jar files into Mac OS X applications. Jar Bundler is distributed with the other developer tools and is located in Developer/Applications/. Start it, select the 'Classpath and Files. After updating to Mac OS X 10.3.9, some systems may have issues with Java applications and Java-enabled websites when using Safari. Safari may unexpectedly quit, and standalone Java applications. Oct 26, 2017 Download Java for OS X 2017-001 Java for macOS 2017-001 installs the legacy Java 6 runtime for macOS 10.13 High Sierra, macOS 10.12 Sierra, macOS 10.11 El Capitan, macOS 10.10 Yosemite, macOS 10.9 Mavericks, macOS 10.8 Mountain Lion, and macOS 10.7 Lion.

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.

  • 1. Create project
  • 2. Add Installation Files
  • 3. Add the Mac OS X build
  • 4. Define Java Product
  • 5. Build
  • 6. Video tutorial

1. Create project

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.

2. Add Installation Files

Go to the Files and Folders page by clicking on “Files and Folders” on the left pane.

Java

Right click “Application Folder” and select “Add Files”. Browse to the source folder on disk of your JAR file and select it. Click OK.


3. Add the Mac OS X build

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.


4. Define Java Product

Java For Mac Os X 10.6.8

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.

Java For Mac Os Catalina

Go to “Mac OS X” tab and check the “Include the Java Product in the Mac OS build” option.

Java For Mac Os X Catalina


5. Build

Java Application For Mac Os X 10 11

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.

Java App For Mac Os X

6. Video tutorial