原文:http://docs.oracle.com/javaee/7/tutorial/doc/usingexamples008.htm
翻译:石卓林 shizhuolin@hotmail.com
2.8 Getting the Latest Updates to the Tutorial
Check for any updates to the tutorial by using the Update Tool included with the Java EE 7 SDK.
2.8.1 To Update the Tutorial Using NetBeans IDE
- Open the Services tab in NetBeans IDE and expand Servers.
- Right-click the GlassFish Server instance and select View Domain Update Center to display the Update Tool.
- Select Available Updates in the tree to display a list of updated packages.
- Look for updates to the Java EE 7 Tutorial (javaee-tutorial) package.
- If there is an updated version of the Tutorial, select Java EE 7 Tutorial (javaee-tutorial) and click Install.
2.8.2 To Update the Tutorial Using the Command Line
- Open a terminal window and enter the following command to display the Update Tool:
updatetool
- Select Available Updates in the tree to display a list of updated packages.
- Look for updates to the Java EE 7 Tutorial (javaee-tutorial) package.
- If there is an updated version of the Tutorial, select Java EE 7 Tutorial (javaee-tutorial) and click Install.
2.8 获取最新教程
使用Java EE 7 SDK中包含的更新工具检测所有的教程更新.
2.8.1 使用NetBeans IDE更新教程
- 打开NetBeans IDE中的 服务 选项卡 并展开 服务.
- 右击GlassFish服务器实例并选择查看域更新中心 以显示更新工具.
- 选择树中的 有效更新 以显示可更新包列表.
- 查找到Java EE 7 Tutorial (javaee教程)包.
- 如果有教程的更新版本, 选择 Java EE 7 Tutorial (javaee教程)并单击 安装.
2.8.2 使用命令行更新教程
- 打开一个终端窗口,输入以下命令以显示更新工具:
updatetool
- 选择树中的 有效更新 以显示可更新包列表.
- 找到Java EE 7 Tutorial (javaee-tutorial)包.
- 如果此教程有可更新版本, 选择 Java EE 7 Tutorial (javaee教程)并单击安装.
Leave a Reply