Configure kemulator in eclipse

Source: Internet
Author: User

During the development of the J2EE project, wtk and Java me simulators were not convenient. RMS still encountered an error while saving and later found the kemulator,

You can also view the memory, images, and so on. It's really an artifact. I will leave a configuration archive here.

 

1. Create or import an existing j2_project

 

2. Download The kemulator and decompress it to any directory.

 

3. select Properties> JAVA build path> libraries> Add external jars...> Add kemulator. jar in the project.

 

4. Select Java build path-> order and export, select kemulator. jar, and click "up" so that it can be placed on the j2_library.

 

5. Click Run-> RUN configurations-> main class and enter emulator. emulator (generally, search automatically appears for selection ),

Enter the following content in arguments:

-CP "bin"-MIDlet mid-device "sonyericssons700"

 

 

Meanings of parameters:

-CP classes path [;] // It is the compiled class Directory, which is usually bin.
-MIDlet class name // MIDlet class name, which must be added with a package structure, for example, Com. XXX. XXX
-Device specify handset e.g. "sonyericssonk750"

 

More parameters can be found in help after emulator is started.

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.