Java 教程是为 JDK 8 编写的。本页中描述的示例和实践未利用在后续版本中引入的改进。
The Java Development Kit (JDK) is required to compile and package your application. The installable bundle must be created on the platform on which the self-contained application will run. For example, if your application runs on Windows and Linux, you must run the packaging tool on Windows to create a .exe
or .msi
bundle, and run the packaging tool on Linux to create a .rpm
or .deb
file.
Third party tools are required to create the installable bundle. The following table identifies the tools for each supported platform.
Platform | Format | Tool |
---|---|---|
Windows | EXE | Inno Setup 5 or later |
Windows | MSI | WiX Toolset 3.8 or later |
Linux | RPM | RPMBuild |
Linux | DEB | Debian packaging tools |
OS X | DMG | |
OS X | PKG |