1. Install eclipse
2. Download and install wtk (I use Java wireless toolkit 2.5.2)
3. Download eclipseme, decompress the package, and copy all the files in the plug-in folder and the feature folder to the corresponding folder with the same name in the eclipse directory.
Run eclipse, window-> preference. If the j2s' label is displayed, the eclipseme plug-in is successfully installed. (Of course, this can also be done through the eclipse update function)
4. Select the j2s label, set antenna, and find antenna jar in the plug-in folder of eclipse. Set wtk root to the root directory installed by wtk, for example, C:/wtk2.5.2 _ 01.
5. Set the simulator, select Device Manager, select import, and set the path to wtk root/bin. Then refresh, eclipse will automatically find some simulators, such as defaultcolorphone, and load the simulator.
Now the basic configuration of the installation environment is complete. You may need to configure the environment variables and add some jar packages to the classpath to start the helloworld test. Some people say they have to set the debug timtout time a little longer, such as the 20000 MS, But I can test the success without modifying it.
At present, Sun recommends that you download the j2-wtk with more functions.Java me sdks 3.0I have downloaded and installed it. I feel that it is a fully functional integrated development environment. Of course, wtk is included. The toolkit Lib in its installation directory is estimated to be the wtk Lib, however, I set it to wtk root in eclipse, but it cannot runProgramSo I re-installed the separate wtk.