javapackager
command to perform tasks related to packaging Java and JavaFX applications.command
options
javapackager
command isn’t available on Oracle Solaris.javapackager
command is the command-line version. For available Ant tasks, see JavaFX Ant Tasks in Java Platform, Standard Edition Deployment Guide.jlink
tool. To package a JDK 8 or JDK 7 JRE with your application, use the JDK 8 Java Packager.-createbss
-createjar
-deploy
jlink
. The Java Packager for JDK 9 packages applications with a JDK 9 runtime image. To package a JDK 8 or JDK 7 JRE with your application, use the JDK 8 Java Packager.-makeall
-makeall
command for the Java Packager tool is deprecated in JDK 9 in preparation for removal in a future release.createjar
, and deploy
steps as one call, with most arguments predefined, and attempts to generate all applicable self-contained application packages. The source files must be located in a folder called src
, and the resulting files (JAR, JNLP, HTML, and self-contained application packages) are put in a folder called dist
. This command can be configured only in a minimal way and is as automated as possible. See Options for the makeall Command for the options used with this command.-signjar
-signjar
command for the Java Packager tool is deprecated in JDK 9 in preparation for removal in a future release. It also doesn’t work with multirelease JAR file. Instead, use the jarsigner tool to sign the JAR file.-outdir dir
-srcdir dir
-srcfiles files
srcdir
. If omitted, all files in srcdir
(which is a mandatory argument in this case) will be used.-appclass app-class
-argument arg
<fx:argument>
element.-classpath files
-manifestAttrs manifest-attributes
-nocss2bin
-noembedlauncher
-outdir dir
-outfile filename
-paramfile file
-preloader preloader-class
-runtimeversion version
-srcdir dir
-srcfiles files
srcdir
. If omitted, all files in srcdir
(which is a mandatory argument in this case) will be packed.--add-modules modulename[,modulename..]
-allpermissions
-appclass app-class
-argument arg
<fx:argument>
element in the JNLP file.-Bbundler-argument=value
-callbacks callback-methods
-description description
-embedjnlp
-embedCertificates
-height height
-htmlparamfile file
-isExtension
srcfiles
as extensions.--limit-modules modulename[,modulename..]
-m modulename [/mainclass]
or --module modulename [/mainclass]
-p module path
or --module-path module path
-name name
-native type
type
is set to jnlp
. Otherwise, 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, then all
is used.jnlp
: Generates the .jnlp
and .html
files for a Java Web Start application.all
: Runs all of the installers for the platform on which it’s running, and creates a disk image for the application. This value is used if type
isn’t specified.installer
: Runs all of the installers for the platform on which it’s running.image
: Creates a disk image for the application..app
file.exe
: Generates a Windows .exe
package.msi
: Generates a Windows Installer package.dmg
: Generates a DMG file for macOS.pkg
: Generates a .pkg
package for macOS.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
-outdir dir
-outfile filename
-paramfile file
-preloader preloader-class
-srcdir dir
-srcfiles files
srcdir
. If omitted, all files in srcdir
(which is a mandatory argument in this case) will be used.--strip-native-commands [true|false]
java.exe
from the Java runtime that’s generated for packaging with self-contained applications. The default is true
. To keep the tools in the runtime, specify false
.-templateId
-templateInFilename
APPID
is the identifier of an application and XXXX
is one of following:DT.SCRIPT.URL
dtjava.js
in the Deployment Toolkit. By default, the location ishttp://java.com/js/dtjava.js
.DT.SCRIPT.CODE
dtjava.js
of the Deployment Toolkit.DT.EMBED.CODE.DYNAMIC
function()
method.DT.EMBED.CODE.ONLOAD
onload
hook (except inclusion of dtjava.js
).DT.LAUNCH.CODE
function()
method.-templateOutFilename
-title title
-updatemode update-mode
-vendor vendor
-width width
-makeall
command for the Java Packager tool is deprecated in JDK 9 in preparation for removal in a future release.-appclass app-class
-classpath files
-height height
-name name
-preloader preloader-class
-v
-width width
-signjar
command for the Java Packager tool is deprecated in JDK 9 in preparation for removal in a future release. It also doesn’t work with multirelease JAR files. Use the jarsigner tool to sign the JAR file.-alias key-alias
-keyPass password
-keyStore file
-outdir dir
-storePass password
-storeType type
jks
.-srcdir dir
-srcfiles files
srcdir
. If omitted, all files in srcdir
(which is a mandatory argument in this case) will be packed.-Bbundler-argument=value
option for the -deploy
command is used when generating self-contained applications. This option enables you to set an argument for the bundler that’s used to create self-contained applications. To set more than one argument, pass an instance of this option for each argument. Each type of bundler has its own set of arguments.appVersion=version
arguments=option=value
classPath=path
javapackager
commands.dropinResourcesRoot=directory
Info.plist
file, use the following:package/macosx/Info.plist
.icon=path
.png
..icns
..ico
.identifier=value
mac.CFBundleIdentifier
. Reverse DNS order is recommended, for example, com.example.application.my-application
.jvmOptions=option
java
command can be used. To pass more than one option, use multiple instances of the -B
option, as shown in the following example:jvmProperties=property=value
-D
option of the java
command can be used. Specify both the property name and the value for the property. To pass more than one property, use multiple instances of the -B
option, as shown in the following example:mainJar=filename
javapackager
commands.preferencesID=node
-Dapp.preferences.id
. This argument is used with the userJVMOptions
argument.runtime=path
-native
option is set to jnlp
.userJvmOptions=option=value
java
command can be used. Specify both the option name and the value for the option. To pass more than one option, use multiple instances of the -B
option, as shown in the following example:mac.category=category
mac.CFBundleIdentifier=value
CFBundleIdentifier
. This value must be globally unique and contain only letters, numbers, dots, and dashes. Reverse DNS order is recommended, for example, com.example.application.my-application
.mac.CFBundleName=name
name
attribute.mac.CFBundleVersion=value
appVersion
argument. If the appVersion
argument is specified with a valid value and the mac.CFBundleVersion
argument isn’t specified, then the appVersion
value is used. If neither argument is specified, then 100
is used as the version number.mac.signing-key-developer-id-app=key
mac.bundle-id-signing-prefix=prefix
licenseFile
, if provided, before allowing the disk image to be mounted.licenseFile=path
-BlicenseFile=COPYING
.systemWide=boolean
true
to show the Applications folder. Set to false
to show the Desktop folder. The default is true
.mac.CFBundleVersion=value
appVersion
argument. If the appVersion
argument is specified with a valid value and the mac.CFBundleVersion
argument isn’t specified, then the appVersion
value is used. If neither argument is specified, then 100
is used as the version number.mac.dmg.simple=boolean
true
to skip the steps. When set to true
, the disk window doesn’t have a background image, and the icons aren’t moved into place. If the systemWide
argument is also set to true
, then a symbolic link to the root Applications folder is added to the DMG file. If the systemWide
argument is set to false
, then only the application is added to the DMG file, no link to the desktop is added.licenseFile
argument as one of the pages in the wizard. The user must accept the terms before installing the application.licenseFile=path
-BlicenseFile=COPYING
.mac.signing-key-developer-id-installer=key
mac.CFBundleVersion=value
appVersion
argument. If the appVersion
argument is specified with a valid value and the mac.CFBundleVersion
argument isn’t specified, then the appVersion
value is used. If neither argument is specified, 100
is used as the version number.mac.app-store-entitlements=path
javapackager
. If no entitlements are specified, then the application operates in a sandbox that’s stricter than the typical applet sandbox, and access to network sockets and all files is prevented.mac.signing-key-app=key
mac.signing-key-pkg=key
mac.CFBundleVersion=value
appVersion
argument. If the appVersion
argument is specified with a valid value and the mac.CFBundleVersion
argument isn’t specified, then the appVersion
value is used. If neither argument is specified, then 100
is used as the version number. If this version is an upgrade for an existing application, then the value must be greater than previous version number.licenseFile
argument isn’t presented to the user in all cases, but the file is included in the application metadata.category=category
copyright=string
email=address
licenseFile=path
-BlicenseFile=COPYING
.licenseType=type
-BlicenseType=Proprietary
, or '-BlicenseType=GPL v2 + Classpath Exception'
.vendor=value
category=category
licenseFile=path
-BlicenseFile=COPYING
.licenseType=type
-BlicenseType=Proprietary
, or '-BlicenseType=GPL v2 + Classpath Exception'
.vendor=value
copyright=string
installdirChooser=boolean
true
to show a dialog box for the user to choose the directory. Set to false
to install the application in the directory indicated by the systemWide
argument. The default is false
.licenseFile=path
-BlicenseFile=COPYING
.menuHint=boolean
true
to install the shortcut. The default is true
.shortcutHint=boolean
true
to add a shortcut to the desktop. The default is false
.systemWide=boolean
Program Files
directory or in the standard location in the users home directory. Set to true
to install the application in Program Files
. Set to false
to install the application in the user's home directory. The default is false
.win.menuGroup=group
menuHint
is true
. This argument is ignored when menuHint
is false
.vendor=value
installdirChooser=boolean
true
to show a dialog box for the user to choose the directory. Set to false
to install the application in the directory indicated by the systemWide
argument. The default is false
.licenseFile=path
-BlicenseFile=COPYING
.menuHint=boolean
true
to install the shortcut. The default is true
.shortcutHint=boolean
true
to add a shortcut to the desktop. The default is false
.systemWide=boolean
true
to install the application in Program Files. Set to false
to install the application in the user's home directory. The default is true
.win.menuGroup=group
menuHint
is true
. This argument is ignored when menuHint
is false
.vendor=value
-embedCertificates
–deploy
option.-noembedlauncher
-v
option can be used with any task command to enable verbose output.-srcdir
option is allowed in a command, it can be used more than once. If the -srcfiles
option is specified, then the files named in the argument are looked for in the location specified in the preceding -srcdir
option. If there is no -srcdir
preceding -srcfiles
, then the directory from which the javapackager
command is executed is used.classes
directory to outjar.jar
, and sets the application class to package.ClassName
.outfile.jnlp
and the corresponding outfile.html
files in outdir
for the application AppName
, which is started by package.ClassName
and has dimensions of 34 by 43 pixels.-makeall
command for the Java Packager tool is deprecated in JDK 9 in preparation for removal in a future release.createjar
, and deploy
.-signjar
command for the Java Packager tool is deprecated in JDK 9 in preparation for removal in a future release. It also doesn’t work with multirelease JAR files. Use the jarsigner tool to sign the JAR file.dist
directory, attaches a certificate with the specified alias, keyStore
and storePass
, and puts the signed JAR files back into the dist
directory.BrickBreaker
application as a self-contained application.BrickBreaker
application as a self-contained application.Home > Search converters: exe to swf
File extension | Convert | Open | Save | Edit | Create | Import | Export | Extract |
---|---|---|---|---|---|---|---|---|
Convert from exe file | No | No | No | No | No | Yes | No | No |
to swf file | No | No | No | No | No | No | Yes | No |