Java 教程是为 JDK 8 编写的。本页中描述的示例和实践未利用在后续版本中引入的改进。
The following table lists the examples in the Deploying Self-Contained Applications lesson. The first column shows the name of the example. The second column shows a link to a zip file with the complete source code. You can download the example and generate a self-contained application by running the ant package
command from the project's root folder. The third column has a link to the Java Tutorials topic where the example is described in detail.
例子 | Zip File (contains all source files necessary for the example plus NetBeans IDE project metadata) |
Where Described |
---|---|---|
Dynamic Tree Demo |
packager_DynamicTreeDemo |
转换现有应用程序 |
File Associations Demo |
packager_FileAssociations |
使用文件关联 |
File Associations Demo |
packager_MultipleLaunchers |
使用多个入口点 |
The
SelfContainedApplicationExamples
zip file contains the complete set of examples listed in the table.