![]() The path can be absolute or relative to the current directory. Module-path is the path to either a directory of modules or to a modular JAR file. ![]() The following example packages a modular application: jpackage -module-path module-path -module main-module Tool and platform defaults are used as needed to complete the package. main-class is the name of the main class and is only required if the main class is not identified in the MANIFEST.MF file. jar-file is the name of the JAR file that contains the main class for the application. The following example packages a non-modular application: jpackage -input app-directory -main-jar jar-file Īpp-directory is the name of the directory that contains the files for your application. The simplest form of packaging requires the location of the application to package and the name of the JAR or module that contains the main class. ![]() ![]() If your application doesn't require customizations or support for features such as multiple launchers or file associations, then only a couple of options are needed for packaging. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |