[Original] Configure the J2ME development environment of Eclipes (under Windows)

xiaoxiao2021-03-06  96

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, install

l Install JDK1.4.2 (WTK2.2 requires 1.4.2 or more)

l Installing WTK

l Install Eclipes

l Decompress the plugin directory of Eclipesme to Eclipes

Clapton_XPathotmaildotcom

Third, development and configuration

l Add the specified WTK under the Window-> PERFERENCES-> J2ME-> Platform Components-> Wireless Toolkit, which is currently supported by Sun's WTK, NOKIA NDS, SONYERICSSON's SDK

l New project, you can choose New-> Other-> J2ME-> J2ME MIDLET SUITE

l Bas basically the default, after determination, right-click New-> Source Folder on the project, the source code after the name "SRC" is placed in the 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: Right click on the project -> J2me-> CREATE PACKAGE Matching the package in the deployed directory

l Desert a package: You need to configure ProGuard: Window-> Perferences-> J2ME-> Platform Components-> OBFUSCATION Select ProGuard paths Advising USE Specified Arguments: "- dontusemixedcaseclassnames" Otherwise it is possible to create case under Windows. After configuration, right-click -> J2me-> Create Obfuscated Package

Four, FAQ

l The hidden package simulator can run, but "invalid files" is displayed when downloaded by 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. . .

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

New Post(0)