I suppose you have installed eclipse, and now you need to install the j2_environment. If not, download JDK and eclipse for installation. Start now.
1. Download eclipseme plug-in, web site http://cdnetworks-kr-1.dl.sourceforge.net/project/eclipseme/eclipseme/1.7.9/eclipseme.feature_1.7.9_site.zip
Then, in eclipse's help (HELP)-> install new software (install new software), click the Add button on the right, and click the archive button next to location on the Add repository interface, find the eclipseme plug-in you just downloaded. Click OK to install it.
2. Download wtk. Here cldc1.1, midp2.0, and monitor are available. install them directly. We recommend that you install these items in a directory. Easy to manage.
3. What we need to do now is to use wtk in eclipse. Click windows-> preferences (preferences). The page displays the j2_items on the left, for example:
In device management, select the import button on the right to import the device.
Locate the wtk directory you installed. After the project is loaded, click Refresh next to it and select all. For example:
Finally, exit. You can.
Create a MIDlet program. File-> New-> project or others, select the j2-midlet suite in the j2-based architecture. Such as helloworld. Add a class file, create a file in the SRC folder of the helloworld project, right-click SRC, choose new-> others, and select the j2_midlet file under the j2_m2. At this point, everything is done.
The purpose of this article is to set up the j2_environment in eclipse on the Internet. That's it.