Packaging Tool For Mac



  1. Packaging Tool For Mac Computers
  2. Mac Tools Jobs
  3. Mac Tools Website
  4. Application Packaging For Mac Os

The packaging tool jpackage enables you to generate installable packages for modular and non-modular Java applications. Platform-specific packages for Linux, macOS and Windows provide your users with a familiar way to install and launch your applications.

Download this app from Microsoft Store for Windows 10. See screenshots, read the latest customer reviews, and compare ratings for MSIX Packaging Tool. Mac Papers has the latest technology from leading suppliers for every step of the packaging process, from single-function machines to full-line integrated systems. You can rely on customized automation solutions from our experienced engineers and the best in ongoing local equipment support and service from Mac Papers’ own certified technicians. Create a simple packaging tool, based on the JavaFX javapackager tool, that: Supports native packaging formats to give end users a natural installation experience. These formats include msi and exe on Windows, pkg and dmg on macOS, and deb and rpm on Linux. Allows launch-time parameters to be specified at packaging time. A different tip at each end allows you to install, extract, and position parts with one tool. Deep-Offset Picks. Reach around obstructions and into tight spaces with picks that have long, angled tips. Use these tools to hold, separate, and position wire, springs, and other small parts.

Note:

The jpackage tool is included in the JDK as an incubator module named jdk.incubator.jpackage. As a feature delivered in an incubator module, the tool's command line options, application layout, and other exported interfaces are not guaranteed to be stable. The jdk.incubator.jpackage module is not resolved by default, and produces a warning when it is resolved. A warning is also issued when Packaging Tool For Macjpackage is run. For information about incubator modules, see JEP 11: Incubator Modules.

The simplest form of packaging takes a pre-built Java application as input and generates an installable package in a platform-dependent default format. The packaging tool generates a runtime for your application using the jlink command.

For applications that require more advanced capabilities, command line options are available for features such as the following:

  • Provide a custom icon
  • Install the application in a specific location
  • Specify JVM options and application arguments to be used when launching the application
  • Set file associations to launch the application when an associated file type is opened
  • Launch the application from a platform-specific menu group
  • Set up multiple launchers for the application
  • Sign the bundle (macOS only)

For a description of jpackage and its options, see The jpackage Command in the Java Development Kit Tool Specifications.

Topics:

Packaging Pre-Reqs

Application packages must be built on the target platform. The system used for packaging must contain the application, a JDK, and software needed by the packaging tool.

To package your application for multiple platforms, you must run the packaging tool on each platform. If you want more than one format for a platform, you must run the tool once for each format.

The following platforms and formats are supported with the required software:

Packaging Tool For Mac Computers

  • Linux: deb, rpm:

    • For Red Hat Linux, the rpm-build package is required.

    • For Ubuntu Linux, the fakeroot package is required.

  • macOS: pkg, app in a dmg

    Xcode command line tools are required when the --mac-sign option is used to request that the package be signed, and when the --icon option is used to customize the DMG image.

  • Windows: exe, msi

    WiX 3.0 or later is required.

Application Preparation

Packaging Tool For Mac

To package your application, you must first build it and create the necessary JAR or module files. Resources needed by your application must also be available on the system used for packaging.

The following application-related information and resources are used for packaging:

Tool
  • JAR or module files for the application
  • Application metadata, for example, name, version, description, copyright, license file
  • Installation options, for example, shortcut, menu group, additional launchers, file associations
  • Launch options, for example, application arguments, JVM options

As part of the packaging process, an application image based on the files in the input directory is created. This image is described in Generated Application Image. To test your application before creating an installable package, use the --type app-image option to create only the application image.

Generated Application Image

The packaging tool creates an application image based on the input to the tool.

The following example shows the application image created for a simple Hello World application for each platform. Files that are considered implementation details are subject to change and are not shown.

  • Linux:

  • macOS:

  • Windows:

Packaging Tool For Mac

The application image generated by the tool works for most applications. However, you can make changes before packaging the image for distribution, if needed.

Java Runtime Requirements

To eliminate the need for users to install a Java runtime, one is packaged with your applications. The packaging tool generates a runtime image based on the packages or modules that your application needs.

If no Java runtime image is passed to the packaging tool, then jpackage, uses the jlink tool to create a runtime for the application. Runtime images created by the packaging tool do not contain debug symbols, the usual JDK commands, man pages, or the src.zip file.

  • For non-modular applications composed of JAR files, the generated runtime image contains the same set of JDK modules that is provided to class-path applications in the unnamed module by the regular java launcher. It doesn't include the available service providers, but these can be added using the --bind-services option for the jpackage tool. To add additional modules, use the --add-modules option for the jpackage tool.

  • For modular applications composed of modular JAR files and JMOD files, the generated runtime image contains the application's main module and the transitive closure of all of its dependencies. It doesn't include the available service providers, but these can be added using the --bind-services option for the jpackage tool. To add additional modules, use the --add-modules option.

The runtime image generated by the tool works for most applications. However, you can create a custom runtime to package with your application, if needed.

This article applies to: Endpoint Management Tools

This page is intended for IT support professionals. End users should contact local IT support.

Collecting source files for a package is the first step of the process described on our Packaging Software for Deployment guide.

There are six ways to collect the source files. Here we'll cover three common methods. Use whichever one you prefer. (Refer to the Casper Suite Administrator's Guide for details on all six methods.)

Collect a Package Source Via Snapshot

This method involves installing software on a computer and using Casper Composer to take 'snapshots' before and after the installation process. The changes to your computer between those two snapshots are collected.

  1. Launch (in your Casper Suite folder) and enter credentials for an administrative account on your Mac.
  2. Click .
  3. Select , then click .
  4. Enter a package name, then click . At this point, Composer will create the 'before' snapshot. This will (typically) take several minutes. Do not click Create Package Source until AFTER you install software (see next step).
  5. When the snapshot completes, install the software you want to package. If desirable, launch the application to accept the EULA or configure the application. If needed, you can restart your computer; relaunch Composer after rebooting to resume building the package.
  6. Return to the Composer window and click . At this point, Composer will create the 'after' snapshot, then compare the two snapshots to create the package source. Again, this may take several minutes. When it finishes, you'll see it listed under Sources in the Composer window.

Via Pre-Installed Software

This method involves selecting an application already installed on your computer and using Casper to gather the necessary information about that application.

  1. Launch (in your Casper Suite folder) and enter credentials for an administrative account on your Mac.
  2. Click .
  3. On the left, under Package Manifests, click . The main portion of the window will show the applications installed on your Mac.
  4. Select the item you want, then click . Composer will create the package source for this application. When it finishes, you'll see it listed under Sources in the Composer window.
  5. If desired, you can rename the source by right-clicking (or CTRL-clicking) it, then selecting .

Via Existing Packages

Mac Tools Jobs

This method lets you deconstruct an existing PKG, MPKG, or DMG file into a package source.

  1. Launch (in your Casper Suite folder) and enter credentials for an administrative account on your Mac.
  2. Drag the existing package into the Composer window, dropping it on the (left) sidebar. It will appear as an item under Packages.
  3. Select the package, then click . When Composer finishes its work, you'll see the new source listed under Sources in the Composer window.
  4. If desired, you can rename the source by right-clicking (or CTRL-clicking) it, then selecting .

Once you have the collected the source files, continue with

Part Two - Edit a Package Source (optional)

Mac Tools Website

Mac

or Part Three - Build the Package Using Source Files

Application Packaging For Mac Os

or return to the main Packaging Software for Deployment guide.