-
Run the exe File: sun_java_wireless_toolkit-2.5.2_01-win.exe
-
Go to Start > Programs > Sun Java Wireless Toolkit 2.5.2 for CLDC > Wireless Toolkit 2.5.2. Then the console window appears like this:
-

-
Now, Click the “New Project” on the sun java wireless toolkit menu bar, then a new project box opens. Fill the Project name (Worldinfosoft) and MIDlet class Name (HelloWorld). After that, click on button "Create Project".
-
Then Settings for project "Worldinfosoft” window appears automatically. Choose Target Platform "JTWI", Then click OK. Like this:
- Then appears a window showing the updated project settings saved on the Console.

- Now create a "HelloWorld.java" file in the src folder of your created project, the directory structure is as follows:

In the above first directory structure you can see "src" folder in your project "Worldinfosoft" where you will be created your "HelloWorld.java" file and In the second directory structure figure you can see "apps" folder, in which your project will meet. Put the given below code in the "HelloWorld" file and save it from '.java' extension.
-
Now run your Tool Kit from "Start-->Programs-->sun_java_wireless_toolkit-2_5_2_01-win-->Wireless Toolkit 2.5.2" which is like given figure on top of this page.
-
Now, Click the “Open Project” on the toolkit menu bar
-
Then click the “Build” button on the toolkit menu bar. This compile the Java source files.
-
Then After click the “Run” button. This executes the compiled Java class files on the emulator.
-
Then Output of project "Worldinfosoft" at emulator is like this: