J2ME development environment configuration (WTK)

zhaozj2021-02-16  109

One: Install configuration SDK

1. J2SDK

1.4.1

_06 or J2SDK1.4.2

JDK1.4

2. Have a c: / j2sdk here

1.4.1

_06; d: /jbuilder9/jdk1.4

Set environment variables: New construction in system variables

Set the system variable in Path, enter the bin under the JDK directory just installed

The full path; such as C: / J2SDK

1.4.1

_06 / bin, use ";" and other PATH values

Then, open the DOS window, enter Java on the command line, if the setting is correct, appears as shown:

Install CLDC

Add a CLDC directory in the system variable PATH

Enter kVM in the command line, you must run the command after setting the environment variable

Install MIDP

Just extract to the corresponding directory: CLDC and JSDK, MIDP as much as possible under one disc;

Such as: c: /midp2.0fcs/bin

Add a MIDP directory after system variable Path

Enter MIDP in the command line

Figure:

At this time: find the MIDP installation path, find the directory of the lib, copy it to the CLDC installation directory

In addition, you have to add the MIDP's class path to the Class_Path of the environment variable.

For example: C: /MIDP2.0FCS/CLASSES

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

New Post(0)