From: http://www.abcjava.com/html/JAVA/IDEjiqiao/2009/0529/106.html
J2EE is a language developed by Sun for wireless device software development. Before using eclipse for development, you must first confirm that you have prepared the following resources:
(1), has been installed and configured Sun JDK, if not can refer to the following web page: http://www.abcjava.com/html/JAVA/J2SE/2009/0507/21.html
(2) have installed sun wtk (Sun wireless Toolkit) and configured http://www.abcjava.com/html/ziyuanxiazai/J2ME/2009/0515/64.html
(3) eclipse has been downloaded and decompressed, http: // www.eclipse.org
(4), has prepared antenna,: http://www.abcjava.com/html/ziyuanxiazai/J2ME/2009/0517/65.html
After the preceding conditions are met, open eclipse, open the software updates dialog box (help → software updates), and select the available software tab.
Software Updates dialog box
Click Add site.... In the Add site dialog box that appears, enter http://eclipseme.org/updates, and click OK.
Add eclipseme plugin
In the software updates dialog box, select all the added eclipseme and click Install.
Select the eclipseme resource to install
After eclipse analysis, the eclipse install dialog box appears. After prompting you to select all the plug-ins to be installed, click Next
Install plug-in selection
Install the protocol, Select accept, and click Finish.
Installation Process
After the installation is complete, you will be prompted to restart eclipse. Select Yes to restart eclipse.
Installation Complete and restart
Next, configure eclipseme, select preferences (window → preferences), select j2in the dialog box, and configure wtk root and antenna jar
J2-based Configuration
Then, select "j2→device Management", click "import" to import the device to eclipse, click "Browse", select the installation directory of wtk, and click "refresh" to refresh, in a moment, several Simulators of wtk will appear. Select all the simulators and click Finish.
Import devices to eclipse
Then select the default simulator in device management and click OK. The eclipseme plug-in has been installed.
Select default Simulator
Finally, I will verify whether the installation is successful. Here I use a project that has been written and run the program. During running, select run social training. Here is emulated j2midlet. Click OK.
Select the running environment
After a moment, we can see that the program runs successfully. Now that the installation and configuration are complete, we can continue our programming process.