Java Platform, Standard Edition Deployment Guide
Contents    Previous    Next

9 The Java Packager Tool

The Java Packager tool can be used to compile, package, sign, and deploy Java and JavaFX applications from the command line. It can be used as an alternative to an Ant task or building the applications in an IDE.


The Java Packager tool is not available for the Solaris platform.

You can access reference information about the Java Packager tool in the Tools Guide for Windows or the Tools Guide for Solaris, Linux, or OS X. If you have set an environment variable for the path to the tool in your JDK installation, you can also enter javapackager at the command line for information.


For Windows installations, add the path to the javapackager command to the PATH environment variable. The javapackager.jar file is located in the bin directory of the JDK installation.

The javapackager command has several component task commands, described in Table 9-1. The command-line options depend on which task command you are using, as described in the javapackager reference documentation for Windows or for Solaris, Linux, or OS X.

Contents    Previous    Next

Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved.