Eclipse j2_environment Construction

Source: Internet
Author: User

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.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.