1.J2ME environment setting (for Windows 2000 / XP)
Set the ClassPath value in the environment variables to c: / program files / java / jdk1.5.0_02; c: /j2me/midp/midp2.0fcs/classes, and path values added C: / Program Files / Java / JDK1.5.0 _02; c: / wtk22 / bin; c: /j2me/midp/midp2.0fcs/bin (using JDK5.0, WTK2.2, MIDP2.0)
2. Install JDK1.4.2 first, and then the WTK cannot recognize the JDK when WTK is installed. After that, I found that WTK2.2 requires JDK in 5.0 or more.
3. When establishing a MIDlet using WTK2.2, pay attention to the MIDlet class name and the class name in the source file. Such a class name in MIDlet-n will be consistent with the class name in the source file, and the program can run correctly, otherwise the classNotFoundException will appear.