This article describes how to use the Eclipseme plug-in in the Eclipse IDE to develop a J2ME application. This article first introduces the Eclipseme plug-in and its installation configuration steps, and describes how to build a basic J2ME application with a simple example.
I. Installation and configuration preparation
You need to install Eclipse 3.0M9, J2ME Wireless Toolkit 2.1, and Eclipseme,eclipse are IBM-funded open source IDE development environments, and eclipse is being watched by more and more developers. J2ME Wireless Toolkit 2.1 provides the libraries and emulators needed to run the J2ME application. The Eclipseme plug-in allows developers to easily develop J2ME applications in an Eclipse environment.
First, installation
1. Download Eclipse v3.0m9 from Eclipse's Web site. You can install it by extracting it into any one of the selected directories (which is called eclipse_home in this article).
2. Download J2ME Wireless Toolkit 2.1 from Sun Company's Web site. You can install to any one of the selected directories (this directory is called Wtk_home in this article).
3. Download the Eclipseme plug-in v 0.4.5 from the SourceForge. You can install it by extracting it into the Eclipse_home/eclipse/plugins directory.
4. Download the J2SE SDK from Sun's Web site. You can install it into any one of the selected directories (this directory is called Java_home in this article). The version of the J2SE SDK in this article is v1.4.2.
Second, configure the Eclipseme plug-in
To configure the Eclipseme plug-in, perform the following steps:
1. Start Eclipse.
2. Configure the Eclipseme plugin. To do this, click the Window menu, select the Preferences menu item, and then select J2ME from the menu that pops up. Then perform the following steps:
Click "Platform Components", see Figure 1. Right-click the right window "Wireless toolkits", select "Add Wireless Toolkit", pop-up window (see Figure 2), "Wireless Toolkit directory" set to wtk_home the corresponding installation directory.
Figure 1 Eclipseme Plug-in Configuration interface
. After the installation is complete, you should see an interface like Figure 3.
Figure 2 Adding wireless Toolkit
Figure 3 Configuring the Eclipseme plug-in-end result