blob: c39cd4bf925e2dc668e502ed91b99069b86cde5f [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 Emulator Platform Setup Guide</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 Emulator Platform Setup Guide</h1>
<p>Though NetBeans supports Java Micro Edition (ME) Connected Device Configuration (CDC) development, the IDE does not have a CDC platform included in the installer that allows you to create applications for CDC devices using the Personal, Foundation, or AGUI Profiles. This document provides information about downloading, installing, and registering the Sun Java Toolkit for CDC and other popular Software Development Kits (SDK) for CDC development.</p>
<!--<p class="notes"><b>Note:</b> If you are using NetBeans 6.8 refer to the <a href="../../68/javame/cdcemulator-setup.html">NetBeans 6.8 CDC Emulator Platform Setup Guide</a>.</p>-->
<h3>Contents</h3>
<img src="../../../images_www/articles/69/netbeans-stamp-69-70-71.png" class="stamp" alt="Content on this page applies to NetBeans IDE 6.9, 7.0, and 7.1" title="Content on this page applies to the NetBeans IDE 6.9, 7.0, and 7.1" >
<ul>
<li><a href="#emulators">Installing Emulator Platforms</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="Next Steps">Next Steps</a></li>
</ul>
<h2>Required Software</h2>
<p><b>To complete this tutorial, you need the following software and resources:</b></p>
<table>
<tbody>
<tr>
<th class="tblheader" scope="col">Software or Resource</th>
<th class="tblheader" scope="col">Version Required</th>
</tr>
<tr>
<td class="tbltd1"><a href="https://netbeans.org/downloads/index.html">NetBeans IDE with Java ME</a></td>
<td class="tbltd1">Version 6.9, 7.0, and 7.1 </td>
</tr>
<tr>
<td class="tbltd1"><a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">Java Development Kit</a> (JDK)</td>
<td class="tbltd1">Version 6 or version 7</td>
</tr>
</tbody>
</table>
<h2><a name="emulators"></a>Installing Emulator Platforms</h2>
<h3><a name="nokias80sdk"></a>Nokia Series 80 Platform SDK for Symbian OS, for Java, Personal Profile</h3>
<p>Developers for Nokia 80 Series devices can install the Series 80 Platform SDK for Symbian OS for Java, Personal Profile by following these instructions: </p>
<ol>
<li>Download the Nokia Series 80 Platform SDK for Symbian OS, for Java, Personal
Profile from the Nokia Developer Forum (<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">download</a>).
The file name is <code>S80_DP_2_0_PP_SDK.zip.</code></li>
<li>Unzip the file. </li>
<li>Navigate to the location on your system where you unzipped the file. Double-click
on the <code>setup.exe</code> file icon.
The Nokia installer wizard opens. </li>
<li>Follow the wizard instructions to install the SDK.
The wizard will prompt you to choose the device you want to be the default
device. Choose the <code>Series80_DP2_0_PP_SDK</code>.</li>
<li>From the Main Menu of the NetBeans IDE, choose Tools &gt; Java Platforms. </li>
<li>Click Add Platform. The Add Java Platform dialog opens. </li>
<li>Select Java ME CDC Platform Emulator and click Next. </li>
<li>Select the folder that contains the platform SDK. The default directory
is <code>C:\Symbian\S80_DP2_0_PP_SDK.</code> Click Next.<code> </code></li>
<li>If desired, use the Platform Name dialog to add or remove additional resource
libraries. </li>
<li>Click Finish. The IDE registers the CDC platform.</li>
</ol>
<p align=center><a href="#top">top</a></p>
<h3><a name="cremevm"></a>CrEme VM for Windows CE</h3>
<p>Developers for Windows CE devices can install the NSIcom CrEme VM for Windows CE by following these instructions: </p>
<ol>
<li>Download the CrEme 4.12 platform from NSIcom (<a href="http://nsicom.com/shared/CrEmeDevSup410.exe">download</a>). </li>
<li>Navigate to the location on your system where you downloaded the file <code>CrEmeDevSup410.exe</code>.
Double-click the file.</li>
<li>Follow the instructions of the NSI.com InstallShield wizard to install the
Developer Kit. </li>
<li>From the Main Menu of the NetBeans IDE, choose Tools &gt; Java Platforms. </li>
<li>Click Add Platform. The Add Java Platform dialog box opens. </li>
<li>Select Java ME CDC Platform Emulator and click Next. </li>
<li>Select the folder that contains the platform SDK. The default directory
is <code>C:\Program Files\NSIcom\CrE-ME V4.12.</code> Click Next.</li>
<li>If desired, use the Platform Name dialog box to add or remove additional resource
libraries. </li>
<li>Click Finish. The IDE registers the CDC platform.</li>
</ol>
<p><b class="notes">Note</b>: JFrame and GroupLayout are not supported by the evaluation license of CrEme, but NSI.com offers a <a href="http://nsicom.com/Default.aspx?tabid=295">download</a> for advanced graphics support.</p>
<p align=center><a href="#top">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">Send
Us Your Feedback</a></div>
<br style="clear:both;" >
<h2><a name="next"></a>Next Steps</h2>
<p>Installing and registering CDC platforms in the IDE enables you to begin writing Java ME applications for CDC devices. For an introduction to developing Java ME CDC applications using NetBeans, see the <a href="cdc-quickstart.html">NetBeans Java ME CDC Development Quick Start Guide</a>.</p>
<p align=center><a href="#top">top</a></p>
</body>
</html>