javapackager (original) (raw)
-allpermissions
If present, the application will require all security permissions in the JNLP file.
-appclass app-class
Qualified name of the application class to be executed.
-argument arg
An unnamed argument to be inserted into an <fx:argument>
element in the JNLP file.
-B_bundler-argument=value_
Provides information to the bundler that is used to package a self-contained application. See Arguments for Self-Contained Application Bundlers for information on the arguments for each bundler.
-callbacks
Specifies user callback methods in generated HTML. The format is the following:
"name1:value1,name2:value2,..."
-description description
Description of the application.
-embedCertificates
If present, the certificates will be embedded in the JNLP file.
-embedjnlp
If present, the JNLP file will be embedded in the HTML document.
-height height
Height of the application.
-htmlparamfile file
Properties file with parameters for the resulting application when it is run in the browser.
-isExtension
If present, the srcfiles
are treated as extensions.
-name name
Name of the application.
-native type
Generate self-contained application bundles (if possible). Use the -B
option to provide arguments to the bundlers being used. If type is specified, then only a bundle of this type is created. If no type is specified, all
is used.
The following values are valid for type:
all
: Runs all of the installers for the platform on which it is running, and creates a disk image for the application. This value is used if type is not specified.installer
: Runs all of the installers for the platform on which it is running.image
: Creates a disk image for the application. On OS X, the image is the.app
file. On Linux, the image is the directory that gets installed.dmg
: Generates a DMG file for OS X.pkg
: Generates a.pkg
package for OS X.mac.appStore
: Generates a package for the Mac App Store.rpm
: Generates an RPM package for Linux.deb
: Generates a Debian package for Linux.
-nosign
If present, the bundle generated for self-contained applications is not signed by the bundler. The default for bundlers that support signing is to sign the bundle if signing keys are properly configured. This attribute is ignored by bundlers that do not support signing. At the time of the 8u40 release of the JDK, only OS X bundlers support signing.
-outdir dir
Name of the directory that will receive generated output files.
-outfile filename
Name (without the extension) of the file that will be generated.
-paramfile file
Properties file with default named application parameters.
-preloader preloader-class
Qualified name of the JavaFX preloader class to be executed. Use this option only for JavaFX applications. Do not use for Java applications, including headless applications.
-srcdir dir
Base directory of the files to package.
-srcfiles files
List of files in the directory specified by the -srcdir
option. If omitted, all files in the directory (which is a mandatory argument in this case) will be used. Files in the list must be separated by spaces.
-templateId
Application ID of the application for template processing.
-templateInFilename
Name of the HTML template file. Placeholders are in the following form:
#XXXX.YYYY(APPID)#
Where APPID is the identifier of an application and XXX is one of following:
DT.SCRIPT.URL
Location of dtjava.js in the Deployment Toolkit. By default, the location is
http://java.com/js/dtjava.jsDT.SCRIPT.CODE
Script element to include dtjava.js of the Deployment Toolkit.DT.EMBED.CODE.DYNAMIC
Code to embed the application into a given placeholder. It is expected that the code will be wrapped in thefunction()
method.DT.EMBED.CODE.ONLOAD
All the code needed to embed the application into a web page using theonload
hook (except inclusion of dtjava.js).DT.LAUNCH.CODE
Code needed to launch the application. It is expected that the code will be wrapped in thefunction()
method.
-templateOutFilename
Name of the HTML file that will be generated from the template.
-title title
Title of the application.
-vendor vendor
Vendor of the application.
-width width
Width of the application.
-updatemode update-mode
Sets the update mode for the JNLP file.