The syntax for the Java Packager is as follows:
javapackager -command [-options]
There are five different commands (-command) that can be used. They are described as follows:
Command | Description |
-createbss | This command is used for converting files from CSS to binary. |
-createjar | This command, used along with additional parameters, creates a JAR archive file. |
-deploy | This command is used to generate Java Network Launch Protocol (JNLP) and HTML files. |
-makeall |
This command combines the -createjar, -deploy, and compilation steps. |
-signJar |
This command creates and signs a JAR file. |
The [-options] for the -createbss command include the following:
The [-options] for the -createjar command include the following:
The first set of [-options] for the -deploy command include the following:
The remaining set of [-options] for the -deploy command include the following:
The [-options] for the -makeall command include the following:
The [-options] for the -signJar command include the following:
The Java Packager is divided into two modules:
- jdk.packager
- jdk.packager.services