[转] Teach you how to develop J2ME programs using Eclipseme (1)

xiaoxiao2021-03-06  23

Author: Wan Hui

This article describes how to develop J2ME applications using the EclipseMe plugin in Eclipse IDE. This article introduces the EclipseMe plug-in and its installation configuration steps, and introduces how to build a basic J2ME application through a simple example. I. Installing and Configuration Preparation You need to install Eclipse 3.0m9, J2ME Wireless Toolkit 2.1 and Eclipseme, Eclipse is an open source IDE development environment funded by IBM, and Eclipse is being followed by more and more developers. J2ME Wireless Toolkit 2.1 provides libraries needed to run J2ME applications and simulators. The EclipseMe plugin allows developers to easily develop J2ME applications in the Eclipse environment. First, install 1. Download Eclipse V3.0M9 from the Eclipse's Web site. You can install it by extracting it to any selected directory (this directory is called Eclipse_home here). 2. Download J2ME Wireless Toolkit 2.1 on Sun's Web Sites. You can install it into any selected directory (this directory is called wtk_home herein). 3. Download the EclipseMe plugin V 0.4.5 from the SourceForge. You can install it by extracting it into the Eclipse_home / eclipse / plugins directory. 4. Download J2SE SDK from Sun's Web Sites. You can install it to any selected directory (this directory is called java_home herein). The version of J2se SDK in this article is V1.4.2. Second, configure the Eclipseme plugin To configure the EclipseMe plugin, perform the following steps: 1. Start Eclipse. 2. Configure the EclipseMe plugin. To implement this feature, click the Window menu, then select the "Preferences" menu item, then select "J2ME" in the pop-up menu. Then follow the steps: Click "Platform Components", see Figure 1. Right-click "Wireless Toolkits", select "Add Wireless Toolkit", will pop up (see Figure 2), "Wireless Toolkit Directory is set to WTK_HOME corresponding to the installation directory. Figure 1 Eclipseme plugin configuration interface

3. The interface as shown in Figure 3 should occur after the installation is complete. Figure 2 Add Wireless Toolkit

Figure 3 Configure the Eclipseme plugin - the final result

转载请注明原文地址:https://www.9cbs.com/read-39960.html

New Post(0)