blob: f526352441f7d11b95f2ad116ba823a6dfa34fa3 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
-->
<html>
<head>
<link rel="stylesheet" type="text/css" href="../../../netbeans.css">
<title>《NetBeans CDC 仿真器平台安装指南》</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta name="keywords" content="NetBeans, IDE, Platform, open source, developer, Java ME, CDC">
<meta name="Alyona Stashkova" content="Alyona.Stashkova@oracle.com">
</head>
<body>
<a name=top></a>
<h1>《NetBeans CDC 仿真器平台安装指南》</h1>
<p>尽管 NetBeans 支持 Java Micro Edition (ME) 联网的设备配置 (CDC) 开发,但是 IDE 并未在安装程序中包含 CDC 平台,您可以通过此平台为使用 Personal Profile、Foundation Profile 或 AGUI Profile 的 CDC 设备创建应用程序。本文档将提供有关对 Sun Java Toolkit for CDC 以及其他用于 CDC 开发的常用软件开发工具包 (SDK) 进行下载、安装和注册的信息。</p>
<h3>目录</h3>
<img alt="此页上的内容适用于 NetBeans IDE 6.9 或更高版本" class="stamp" src="../../../images_www/articles/72/netbeans-stamp-72-73.png" title="此页上的内容适用于 NetBeans IDE 6.9 或更高版本">
<ul>
<li><a href="#emulators">安装仿真器平台</a>
<ul><li><a href="#nokias80sdk" title="Nokia Series 80 SDK">Nokia Series 80 SDK</a></li>
<li><a href="#cremevm" title="CrEme VM for Windows CE">CrEme VM for Windows CE</a></li></ul>
</li>
<li><a href="#next" title="后续步骤">后续步骤</a></li>
</ul>
<h2>所需的软件</h2>
<p><b>要学完本教程,您需要具备以下软件和资源:</b></p>
<table>
<tbody>
<tr>
<th class="tblheader" scope="col">软件或资源</th>
<th class="tblheader" scope="col">要求的版本</th>
</tr>
<tr>
<td class="tbltd1"><a href="https://netbeans.org/downloads/index.html">带有 Java ME 的 NetBeans IDE</a></td>
<td class="tbltd1">版本 6.9 或更高版本 </td>
</tr>
<tr>
<td class="tbltd1"><a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">Java 开发工具包</a> (JDK)</td>
<td class="tbltd1">版本 6 或版本 7</td>
</tr>
</tbody>
</table>
<h2><a name="emulators"></a>安装仿真器平台</h2>
<h3><a name="nokias80sdk"></a>Nokia Series 80 Platform SDK for Symbian OS, for Java, Personal Profile</h3>
<p>Nokia 80 系列设备的开发者可以按照以下说明安装 Series 80 Platform SDK for Symbian OS, for Java, Personal Profile: </p>
<ol>
<li>从 Nokia 开发者论坛下载 Nokia Series 80 Platform SDK for Symbian OS, for Java, Personal Profile(<a href="http://www.forum.nokia.com/info/sw.nokia.com/id/449a2f84-2a8a-44fa-a7f4-93b53cb9c89a/Series_80_Platform_SDK_s_for_Symbian_OS_for_Java.html">下载</a>)。文件名为 <code>S80_DP_2_0_PP_SDK.zip</code></li>
<li>解压缩该文件。 </li>
<li>导航至该文件在系统上的解压缩位置。双击 <code>setup.exe</code> 文件图标。将打开 Nokia 安装程序向导。 </li>
<li>按照向导说明安装 SDK。该向导将提示您设置默认设备。选择 <code>Series80_DP2_0_PP_SDK</code></li>
<li>从 NetBeans IDE 的主菜单中,选择 "Tools"(工具)> "Java Platforms"(Java 平台)。 </li>
<li>单击 "Add Platform"(添加平台)。“添加 Java 平台”对话框打开。 </li>
<li>选择 "Java ME CDC Platform Emulator"(Java ME CDC 平台仿真器),然后单击 "Next"(下一步)。 </li>
<li>选择包含平台 SDK 的文件夹。默认目录为 <code>C:\Symbian\S80_DP2_0_PP_SDK</code>。单击 "Next"(下一步)。<code> </code></li>
<li>如果需要,请使用 "Platform Name"(平台名称)对话框来添加或删除额外的资源库。 </li>
<li>单击 "Finish"(完成)。IDE 将注册 CDC 平台。</li>
</ol>
<p align=center><a href="#top">返回页首</a></p>
<h3><a name="cremevm"></a>CrEme VM for Windows CE</h3>
<p>Windows CE 设备的开发者可以按照以下说明安装 NSIcom CrEme VM for Windows CE: </p>
<ol>
<li>从 NSIcom 下载 CrEme 4.12 平台(<a href="http://nsicom.com/shared/CrEmeDevSup410.exe">下载</a>)。 </li>
<li>导航至 <code>CrEmeDevSup410.exe</code> 文件在系统上的下载位置。双击该文件。</li>
<li>按照 NSI.com InstallShield 向导的说明安装开发者工具包。 </li>
<li>从 NetBeans IDE 的主菜单中,选择 "Tools"(工具)> "Java Platforms"(Java 平台)。 </li>
<li>单击 "Add Platform"(添加平台)。“添加 Java 平台”对话框打开。 </li>
<li>选择 "Java ME CDC Platform Emulator"(Java ME CDC 平台仿真器),然后单击 "Next"(下一步)。 </li>
<li>选择包含平台 SDK 的文件夹。默认目录为 <code>C:\Program Files\NSIcom\CrE-ME V4.12</code>。单击 "Next"(下一步)。</li>
<li>如果需要,请使用“平台名称”对话框添加或删除其他资源库。 </li>
<li>单击 "Finish"(完成)。IDE 将注册 CDC 平台。</li>
</ol>
<p><b class="notes">注:</b>JFrame 和 GroupLayout 不受 CrEme 评估许可证的支持,但 NSI.com 提供获取高级图形支持的<a href="http://nsicom.com/Default.aspx?tabid=295">下载</a>页。</p>
<p align=center><a href="#top">返回页首</a></p>
<!--<h3><a name="msdevice"></a>Microsoft Device Emulator</h3>
<p>The IDE's Java ME support supports all versions of the Microsoft Device Emulator in conjunction
with the NSIcom CrEme VM for Windows CE. To integrate the Microsoft Device Emulator, follow these instructions.</p>
<ol>
<li>Download the apropriate <code>vs_emulator.exe</code> file for your version of Windows (<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=a6f6adaf-12e3-4b2f-a394-356e2c2fb114&DisplayLang=en#filelist">download</a>). Note that both Vista and XP versions of the download are available.</li>
<li>Double-click the <code>vs_emulator.exe</code> file. The install wizard for the Device Emulator will guide you through the installation
process. </li>
<li>Download Windows Mobile image files in your preferred language (<a href="http://www.microsoft.com/downloads/details.aspx?familyid=38C46AA8-1DD7-426F-A913-4F370A65A582&displaylang=en">download</a><code>)</code>.<code>
</code>The install wizard for the Emulator images will guide you through the installation process. </li>
<li>It may also be necessary to install the Virtual Machine Network Driver
for Microsoft Device Emulator (<a href="http://www.microsoft.com/downloads/details.aspx?familyid=DC8332D6-565F-4A57-BE8C-1D4718D3AF65&displaylang=en">download</a>).
Download the file and double-click the <code>netsvwrap.msi</code> file.
The install wizard will guide you through the installation process. </li>
</ol>
<p align=center><a href="#top">top</a></p>
<h3><a name="asynch"></a>ActiveSync </h3>
<p>The ActiveSync VM supports the NSIcom CrEme VM for running Java on Windows CE devices. </p>
<ol>
<li>Download <code>setup.msi</code> for the ActiveSync VM (<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9e641c34-6f7f-404d-a04b-dc09f8141141&DisplayLang=en">download</a>)</li>
<li>Double-click the file to install it. </li>
</ol>
<p align=center><a href="#top">top</a></p>-->
<div class="feedback-box"><a href="/about/contact_form.html?to=6&subject=NetBeans%20CDC%20Emulator%20Setup%20Guide">请将您的反馈意见发送给我们</a></div>
<br style="clear:both;" >
<h2><a name="next"></a>后续步骤</h2>
<p>在 IDE 中安装并注册 CDC 平台后,您便可以着手编写用于 CDC 设备的 Java ME 应用程序。有关使用 NetBeans 开发 Java ME CDC 应用程序的简介,请参见 <a href="cdc-quickstart.html">NetBeans Java ME CDC 开发快速入门指南</a></p>
<p align=center><a href="#top">返回页首</a></p>
</body>
</html>