[Original] Configure the J2ME development environment of Eclipes (under Windows) Select BLOG from Clapton

xiaoxiao2021-03-06  78

Clapton_XPathotmaildotcom

First, file download L Eclipes (3.0): http://www.eclipse.org/downloads/index.php

l Eclipesme (0.46): http://eclipseme.sourceforge.net/ l J2ME Wireless Toolkit (2.2beta): http://java.sun.com/products/j2mewtoolkit/download-2_2.html L J2se SDK (1.4. 2): http://java.sun.com/j2se/1.4.2/download.html l Proguard (2.1): http://proguard.sourceforge.net

Second, the installation L Installs JDK1.4.2 (WTK2.2 Requirement 1.4.2 or more) l Installing WTK L Installing Eclipes L Decomposing Eclipesme to Eclipes Plugin Directory Clapton_XPathotmaildotcom

Third, develop and configure l to add the specified WTK under the Eclipse's Window-> Perferences-> J2ME-> Platform Components-> Wireless Toolkit, currently supported a new WTK, NOKIA NDS, SONYERICSSON's SDK L New project, You can choose New-> Other-> J2ME-> J2ME MIDLET SUITE L basically, after the determination, right-click New-> Source Folder on the project, starting the source code after "SRC" is placed in the directory of src . The purpose of this can prevent the files of the package from being forced in the root directory. l Write and save it automatically. l Package: Engineering Right-click -> J2ME-> Create Package Multi-package in deployed directory L-confusing package: You need to configure ProGuard: Window-> Perferences-> J2me-> Platform Components-> OBFUSCATION Select ProGuard path to other suggestions Use specified arguments: "- dontusemixedcaseclassnames" otherwise it is possible to create confusion in case under Windows. After configuration, right-click -> J2me-> Create Obfuscated Package

Fourth, FAQ L is a good package simulator to run, but "invalid file" is displayed when downloaded through OTA. Workaround: Change the line of JAD files generated when packaged to UNIX wrap (file-> conversions) available to UltraEdit. l Take it to be added. . .

Author Blog:

http://blog.9cbs.net/clapton/

转载请注明原文地址:https://www.9cbs.com/read-108755.html

New Post(0)