Java 9:Building Robust Modular Applications
上QQ阅读APP看书,第一时间看更新

Java Packager options

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 jnlp and HTML files
-makeall Combines the -createjar, -deploy, and compilation steps
-signJar This command creates and signs a JAR file

The [-options] for the -createbss command include:

The [-options] for the -createjar command include:

The [-options] for the -deploy command include:

Here are the remaining [-options] for the -deploy command:

The [-options] for the -makeall command include:

The [-options] for the -signJar include:

The Java Packager is divided into two modules:

    jdk.packager
jdk.packager.services